mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-08-14 11:00:52 -04:00
Close any open dialogs before opening a new one. Fixes ticket #1295.
This commit is contained in:
@@ -18,6 +18,9 @@
|
||||
var self = this;
|
||||
var eDialog = '<div id="g-dialog"></div>';
|
||||
|
||||
if ($("#g-dialog").length) {
|
||||
$("#g-dialog").dialog("close");
|
||||
}
|
||||
$("body").append(eDialog);
|
||||
|
||||
if (!self.options.close) {
|
||||
|
||||
Reference in New Issue
Block a user