Commit 698da19d authored by dsnopek's avatar dsnopek Committed by japerry

Issue #2841709 by dsnopek: IPE buttons still appear when pane modal is open

parent c539c4f7
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment