mirror of
https://github.com/meineerde/redmine.git
synced 2026-02-06 00:53:24 +00:00
Fixed r14339 for when closing the dialog by using the upper-right cross (#19851).
git-svn-id: http://svn.redmine.org/redmine/trunk@14340 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
f11bba5537
commit
0fccf648a7
@ -391,6 +391,8 @@ function showModal(id, width, title) {
|
||||
resizable: false,
|
||||
dialogClass: 'modal',
|
||||
title: title
|
||||
}).on('dialogclose', function(){
|
||||
$(".modal").zIndex(101);
|
||||
});
|
||||
el.find("input[type=text], input[type=submit]").first().focus();
|
||||
}
|
||||
@ -403,8 +405,6 @@ function hideModal(el) {
|
||||
modal = $('#ajax-modal');
|
||||
}
|
||||
modal.dialog("close");
|
||||
// restores existing modals in front of the transparent background
|
||||
$(".modal").zIndex(101);
|
||||
}
|
||||
|
||||
function submitPreview(url, form, target) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user