diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2009-08-08 15:46:53 -0700 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-08-08 15:46:53 -0700 |
commit | cb1ae141bb65a5da42e94910214abbf5ac367920 (patch) | |
tree | 40acc419ef8f5121c11bffcec6233c641c6211e2 /modules/gallery/js/quick.js | |
parent | e4eec71efa5f7b1902155a34f8655cebe523c358 (diff) |
Create an new option 'immediate' and if set to true then don't try to set up click events, but just show the dialog. Also remove the destroy method and put all the cleanup into the dialog close handler
Diffstat (limited to 'modules/gallery/js/quick.js')
-rw-r--r-- | modules/gallery/js/quick.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/js/quick.js b/modules/gallery/js/quick.js index fda6470f..dfa61c20 100644 --- a/modules/gallery/js/quick.js +++ b/modules/gallery/js/quick.js @@ -46,7 +46,7 @@ var quick_do = function(cont, pane, img) { return false; } if (pane.hasClass("gDialogLink")) { - openDialog(pane); + $(pane).gallery_dialog({immediate: 1}); } else { img.css("opacity", "0.1"); cont.addClass("gLoadingLarge"); |