summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2024-12-30 05:58:51 +0000
committerGo MAEDA <maeda@farend.jp>2024-12-30 05:58:51 +0000
commit66c40b579d8b6daf85b4e9f6cb74a5da64b5c395 (patch)
tree8eaa59b060b8bc57a191ae899dbb92c2503e0b70
parent9fe5b9b6fb143ecaa7c501a920c8346e36d110c8 (diff)
downloadredmine-66c40b579d8b6daf85b4e9f6cb74a5da64b5c395.tar.gz
redmine-66c40b579d8b6daf85b4e9f6cb74a5da64b5c395.zip
Context menu submenus close unexpectedly on Gantt chart due to z-index conflict (#41925).
Patch by Mizuki ISHIKAWA (user:ishikawa999). git-svn-id: https://svn.redmine.org/redmine/trunk@23424 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--app/assets/javascripts/gantt.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/assets/javascripts/gantt.js b/app/assets/javascripts/gantt.js
index 6a42e5be9..ceb6d9a51 100644
--- a/app/assets/javascripts/gantt.js
+++ b/app/assets/javascripts/gantt.js
@@ -178,6 +178,7 @@ function drawSelectedColumns(){
$(this).show();
var column_name = $(this).attr('id');
$(this).resizable({
+ zIndex: 30,
alsoResize: '.gantt_' + column_name + '_container, .gantt_' + column_name + '_container > .gantt_hdr',
minWidth: 20,
handles: "e",
@@ -220,6 +221,7 @@ function resizableSubjectColumn(){
alsoResize: '.gantt_subjects_container, .gantt_subjects_container>.gantt_hdr, .project-name, .issue-subject, .version-name',
minWidth: 100,
handles: 'e',
+ zIndex: 30,
create: function( event, ui ) {
$('.ui-resizable-e').css('cursor','ew-resize');
}