diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2009-04-20 18:44:19 +0000 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-04-20 18:44:19 +0000 |
commit | ad10584dc1ba40aa045ece4db3e09dfc3ec8039c (patch) | |
tree | 4dfe6bd847473ba96d314e86c2535e2781a23037 /modules/organize/js/organize_init.js | |
parent | e8d99f22a1605c47bf2e83cf02a548c5e5c2c87e (diff) |
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
Diffstat (limited to 'modules/organize/js/organize_init.js')
-rw-r--r-- | modules/organize/js/organize_init.js | 6 |
1 files changed, 5 insertions, 1 deletions
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() { }); }); + |