summaryrefslogtreecommitdiff
path: root/modules/organize/js/organize_init.js
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-04-03 00:50:43 +0000
committerTim Almdal <tnalmdal@shaw.ca>2009-04-03 00:50:43 +0000
commitf1cb43430bc84aaa2bcf7bfc99d1ef9dd0138e78 (patch)
treef7f8ae15106ec67d6b10220a6754c2d67353b048 /modules/organize/js/organize_init.js
parent688376223853bcc07ef0eed9926a2a6fce46ef9e (diff)
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.
Diffstat (limited to 'modules/organize/js/organize_init.js')
-rw-r--r--modules/organize/js/organize_init.js24
1 files changed, 24 insertions, 0 deletions
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('<div id="gDialog"></div>');
+
+ $("#gDialog").dialog({
+ autoOpen: false,
+ autoResize: false,
+ modal: true,
+ resizable: true,
+ close: closeDialog
+ });
+
+ //showLoading("#gDialog");
+
+ $.get(href, function(data) {
+ $("#gDialog").html(data);
+ });
+ return false;
+ });
+});
+