summaryrefslogtreecommitdiff
path: root/modules/organize/js/organize_init.js
diff options
context:
space:
mode:
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;
+ });
+});
+