From ad10584dc1ba40aa045ece4db3e09dfc3ec8039c Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Mon, 20 Apr 2009 18:44:19 +0000 Subject: 1) Add rearrange processing as a task 2) Improved drop location determination 3) Add a revert if dropped on an invalid target 4) Add a popup dialog to display ajax errors Still to do progress bar, pause/continue and status messages --- modules/organize/js/organize_init.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'modules/organize/js/organize_init.js') diff --git a/modules/organize/js/organize_init.js b/modules/organize/js/organize_init.js index faa725d3..efe21af4 100644 --- a/modules/organize/js/organize_init.js +++ b/modules/organize/js/organize_init.js @@ -10,7 +10,10 @@ $("document").ready(function() { autoResize: false, modal: true, resizable: true, - close: closeDialog, + close: function () { + $("#gDialog").trigger("organize_close"); + $("#gDialog").dialog("destroy").remove(); + }, zIndex: 75 }); @@ -23,3 +26,4 @@ $("document").ready(function() { }); }); + -- cgit v1.2.3