summaryrefslogtreecommitdiff
path: root/js/webtrees.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/webtrees.js')
-rw-r--r--js/webtrees.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/js/webtrees.js b/js/webtrees.js
index 0430785ae9..66b9743933 100644
--- a/js/webtrees.js
+++ b/js/webtrees.js
@@ -56,7 +56,8 @@ function modalDialog(url, title) {
.load(url)
.dialog({
modal: true,
- width: 700
+ width: 700,
+ close: function(event, ui) { $(this).remove(); }
});
// Close the window when we click outside it.
jQuery(".ui-widget-overlay").live("click", function () {