#899412 by yareckon: IPE sortable behavior remained on panes after "Save" was clicked.
authorEarl Miles
Fri, 10 Sep 2010 18:33:02 +0000 (18:33 +0000)
committerEarl Miles
Fri, 10 Sep 2010 18:33:02 +0000 (18:33 +0000)
panels_ipe/js/panels_ipe.js

index 1f6287b..fd1a5c6 100644 (file)
@@ -164,6 +164,7 @@ function DrupalPanelsIPE(cache_key, cfg) {
     $('div.panels-ipe-on').hide('fast');
     ipe.initButton.css('position', 'static');
     ipe.topParent.removeClass('panels-ipe-editing');
+   $('div.panels-ipe-sort-container', ipe.topParent).sortable("destroy");
   };
 
   this.saveEditing = function() {