mirror of
https://github.com/redmine/redmine.git
synced 2025-12-16 05:20:28 +01:00
Clicking on a parent object in gantt wrongly collapses objects at the same level (#32812).
Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@19433 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -231,8 +231,9 @@ function resizableSubjectColumn(){
|
||||
}
|
||||
|
||||
ganttEntryClick = function(e){
|
||||
var subject = $(e.target.parentElement);
|
||||
var subject_left = parseInt(subject.css('left'));
|
||||
var icon_expander = e.target;
|
||||
var subject = $(icon_expander.parentElement);
|
||||
var subject_left = parseInt(subject.css('left')) + parseInt(icon_expander.offsetWidth);
|
||||
var target_shown = null;
|
||||
var target_top = 0;
|
||||
var total_height = 0;
|
||||
|
||||
Reference in New Issue
Block a user