From f1cb43430bc84aaa2bcf7bfc99d1ef9dd0138e78 Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Fri, 3 Apr 2009 00:50:43 +0000 Subject: First iteration of the organize functionality (orginally called bulk edit). There is limited functionality in no edits work. This is primary a chance for the team to review the ui. It is in a separate module to isolate the changes. Eventually, it will be moved back into core. --- modules/organize/js/organize_init.js | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 modules/organize/js/organize_init.js (limited to 'modules/organize/js/organize_init.js') diff --git a/modules/organize/js/organize_init.js b/modules/organize/js/organize_init.js new file mode 100644 index 00000000..70949eab --- /dev/null +++ b/modules/organize/js/organize_init.js @@ -0,0 +1,24 @@ +$("document").ready(function() { + $("#gOrganizeLink").click(function(event) { + event.preventDefault(); + var href = event.target.href; + + $("body").append('
'); + + $("#gDialog").dialog({ + autoOpen: false, + autoResize: false, + modal: true, + resizable: true, + close: closeDialog + }); + + //showLoading("#gDialog"); + + $.get(href, function(data) { + $("#gDialog").html(data); + }); + return false; + }); +}); + -- cgit v1.2.3