[Bug #669] Fixed bug.
The load of the plannergraph in the JS side is delayed until the moment of the scroll, instead of being loaded in the beginning, when it could be unavailable. FEA: ItEr61S05BugFixing
This commit is contained in:
parent
1dd02b4149
commit
2dccc768b1
1 changed files with 4 additions and 2 deletions
|
|
@ -186,7 +186,6 @@ function listenToScroll() {
|
|||
scrolledpannel_ = scrolledpannel();
|
||||
leftpanel_ = taskdetailsBody();
|
||||
rightpanellayout_ = rightpanellayout();
|
||||
plannergraph_ = plannergraph();
|
||||
|
||||
var onScroll = function() {
|
||||
|
||||
|
|
@ -196,7 +195,10 @@ function listenToScroll() {
|
|||
|
||||
timetrackergap_.style["left"] = "-" + scrolledpannel_.scrollLeft + "px";
|
||||
leftpanel_.style["top"] = "-" + scrolledpannel_.scrollTop + "px";
|
||||
plannergraph_.scrollLeft = scrolledpannel_.scrollLeft;
|
||||
plannergraph_ = plannergraph();
|
||||
if(plannergraph_ != undefined) {
|
||||
plannergraph_.scrollLeft = scrolledpannel_.scrollLeft;
|
||||
}
|
||||
for (j=0;j<timeplotcontainer_all_.length;j++)
|
||||
{
|
||||
timeplotcontainer_all_[j].style["left"] = "-" + scrolledpannel_.scrollLeft + "px";
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue