diff options
author | Go MAEDA <maeda@farend.jp> | 2024-12-30 05:58:51 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2024-12-30 05:58:51 +0000 |
commit | 66c40b579d8b6daf85b4e9f6cb74a5da64b5c395 (patch) | |
tree | 8eaa59b060b8bc57a191ae899dbb92c2503e0b70 | |
parent | 9fe5b9b6fb143ecaa7c501a920c8346e36d110c8 (diff) | |
download | redmine-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.js | 2 |
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'); } |