diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2009-08-03 09:19:17 -0700 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-08-03 09:19:17 -0700 |
commit | a25f08d433d504a53763feb358a1aa7f5f798de6 (patch) | |
tree | d15f226e4a65941f0ab681e73990712531d95058 /modules/organize/js/organize_init.js | |
parent | 2e82c5e9ca3a924e98d8998b397d25c83d716d55 (diff) |
Checkpoint the organize module rewrite. At this point, it doesn't really do
anything, but get the dialog up, populate the album tree and intelligently
populate the micro thumb grid.
Still to do:
1) get the microthumbs laided out ptoperly
2) expand and collapse functionality in the album tree
3) use the album tree to change the content of the micro thumb grid
4) Actually add some functionality
At the moment, it supports a callback "" to allow modules to add icons
to the organize drawer label. The close button is added outside of this
framework as it will always be last.
Diffstat (limited to 'modules/organize/js/organize_init.js')
-rw-r--r-- | modules/organize/js/organize_init.js | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/modules/organize/js/organize_init.js b/modules/organize/js/organize_init.js deleted file mode 100644 index ed036fdb..00000000 --- a/modules/organize/js/organize_init.js +++ /dev/null @@ -1,29 +0,0 @@ -$("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: false, - close: function () { - $("#gDialog").trigger("organize_close"); - $("#gDialog").dialog("destroy").remove(); - }, - zIndex: 75 - }); - - //showLoading("#gDialog"); - - $.get(href, function(data) { - $("#gDialog").html(data); - }); - return false; - }); -}); - - |