mirror of
https://github.com/redmine/redmine.git
synced 2025-11-18 03:00:52 +01:00
Remove deprecated .zIndex() method (#31870).
Patch by Fabrice Helmbacher. git-svn-id: http://svn.redmine.org/redmine/trunk@18377 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -490,7 +490,7 @@ function showModal(id, width, title) {
|
|||||||
if (el.length === 0 || el.is(':visible')) {return;}
|
if (el.length === 0 || el.is(':visible')) {return;}
|
||||||
if (!title) title = el.find('h3.title').text();
|
if (!title) title = el.find('h3.title').text();
|
||||||
// moves existing modals behind the transparent background
|
// moves existing modals behind the transparent background
|
||||||
$(".modal").zIndex(99);
|
$(".modal").css('zIndex',99);
|
||||||
el.dialog({
|
el.dialog({
|
||||||
width: width,
|
width: width,
|
||||||
modal: true,
|
modal: true,
|
||||||
@@ -498,7 +498,7 @@ function showModal(id, width, title) {
|
|||||||
dialogClass: 'modal',
|
dialogClass: 'modal',
|
||||||
title: title
|
title: title
|
||||||
}).on('dialogclose', function(){
|
}).on('dialogclose', function(){
|
||||||
$(".modal").zIndex(101);
|
$(".modal").css('zIndex',101);
|
||||||
});
|
});
|
||||||
el.find("input[type=text], input[type=submit]").first().focus();
|
el.find("input[type=text], input[type=submit]").first().focus();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user