summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2013-02-05 11:32:49 -0500
committerBharat Mediratta <bharat@menalto.com>2013-02-05 11:32:49 -0500
commit3b87ed54c203badadd9223e6f9a12395c72160d7 (patch)
treea2e9f4395e9c9af7022c3c427c3627db41264190
parent8635de23239de0ebcd7d018dc9240ca8b10c30c3 (diff)
force the dialog to the top of the page
-rw-r--r--lib/gallery.dialog.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/gallery.dialog.js b/lib/gallery.dialog.js
index 3115532b..26de9bad 100644
--- a/lib/gallery.dialog.js
+++ b/lib/gallery.dialog.js
@@ -22,6 +22,9 @@
$("#g-dialog").dialog("close");
}
$("body").append(eDialog);
+ if (!self.options.zIndex) {
+ self.options.zIndex = 9999;
+ }
if (!self.options.close) {
self.options.close = self.close_dialog;