summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordsnopek2017-02-04 04:23:36 (GMT)
committerJakob Perry2017-02-04 04:23:36 (GMT)
commit698da19d848743b1ba3df381ce183b61d7e5e390 (patch)
treeb10925fd5f9b0c6b5b746b3f372e2925540e0c7b
parentc539c4f7f23e157bf0a678d03d1cbee98d8ca6a3 (diff)
Issue #2841709 by dsnopek: IPE buttons still appear when pane modal is open
-rw-r--r--panels_ipe/js/panels_ipe.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/panels_ipe/js/panels_ipe.js b/panels_ipe/js/panels_ipe.js
index f8f85eb..4f1fcaf 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();