diff --git a/panels_ipe/js/panels_ipe.js b/panels_ipe/js/panels_ipe.js index f8f85eb6f934701a4dee1e758a1a746ebb18b6ff..4f1fcaf8be2c9fe28dda36c089232e55a6dbf8bc 100644 --- a/panels_ipe/js/panels_ipe.js +++ b/panels_ipe/js/panels_ipe.js @@ -50,7 +50,7 @@ Drupal.behaviors.PanelsIPE = { Drupal.PanelsIPE.editors[key].showContainer(); }); } - $('.panels-ipe-hide-bar').once('panels-ipe-hide-bar-processed').click(function() { + $('.panels-ipe-hide-bar').once('panels-ipe-hide-bar').click(function() { Drupal.PanelsIPE.editors[key].hideContainer(); }); Drupal.PanelsIPE.bindClickDelete(context); @@ -312,6 +312,7 @@ function DrupalPanelsIPE(cache_key, cfg) { // @todo this isn't ideal but I can't seem to figure out how to keep an unprocessed backup // that will later get processed. $('.ctools-use-modal-processed', ipe.topParent).removeClass('ctools-use-modal-processed'); + $('.panels-ipe-hide-bar-processed', ipe.topParent).removeClass('panels-ipe-hide-bar-processed'); $('.pane-delete-processed', ipe.topParent).removeClass('pane-delete-processed'); ipe.topParent.fadeIn('medium'); Drupal.attachBehaviors();