Merged r18377 from trunk to 4.0-stable (#31870).

git-svn-id: http://svn.redmine.org/redmine/branches/4.0-stable@18467 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA
2019-09-13 14:44:20 +00:00
parent 4725c5b536
commit e465ab6ec0

View File

@@ -426,7 +426,7 @@ function showModal(id, width, title) {
if (el.length === 0 || el.is(':visible')) {return;}
if (!title) title = el.find('h3.title').text();
// moves existing modals behind the transparent background
$(".modal").zIndex(99);
$(".modal").css('zIndex',99);
el.dialog({
width: width,
modal: true,
@@ -434,7 +434,7 @@ function showModal(id, width, title) {
dialogClass: 'modal',
title: title
}).on('dialogclose', function(){
$(".modal").zIndex(101);
$(".modal").css('zIndex',101);
});
el.find("input[type=text], input[type=submit]").first().focus();
}