Patch by Yuichi HARADA.
git-svn-id: http://svn.redmine.org/redmine/trunk@19433
e93f8b46-1217-0410-a6f0-
8f06a7374b81
}
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;