summaryrefslogtreecommitdiffstats
path: root/public
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2019-08-18 12:47:53 +0000
committerGo MAEDA <maeda@farend.jp>2019-08-18 12:47:53 +0000
commit1c3672a67707185b8dc9ff983d25926c8b097241 (patch)
tree34b9abf767846a6491490b9e3c3d70fe72c1c9dc /public
parent79a47823b2bd9cf95001d1519017e63f9ac20872 (diff)
downloadredmine-1c3672a67707185b8dc9ff983d25926c8b097241.tar.gz
redmine-1c3672a67707185b8dc9ff983d25926c8b097241.zip
Remove deprecated .zIndex() method (#31870).
Patch by Fabrice Helmbacher. git-svn-id: http://svn.redmine.org/redmine/trunk@18377 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'public')
-rw-r--r--public/javascripts/application.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/public/javascripts/application.js b/public/javascripts/application.js
index b6658c71c..a3fc9248d 100644
--- a/public/javascripts/application.js
+++ b/public/javascripts/application.js
@@ -490,7 +490,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,
@@ -498,7 +498,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();
}