[Bug #1215] Store the resources tooltip hidden/shown state in the TaskRow widget and use that state when redrawing the TaskComponents.
FEA: ItEr75S04BugFixing
This commit is contained in:
parent
0633c104b5
commit
2cc9fb6371
2 changed files with 5 additions and 1 deletions
|
|
@ -10,10 +10,13 @@ ganttz.TaskRow = zk.$extends(zk.Widget, {
|
|||
this._labelsHidden = true;
|
||||
this.firstChild.hideLabels();
|
||||
},
|
||||
_resourcesHidden : true,
|
||||
hideResourceTooltip : function(){
|
||||
this._resourcesHidden = true;
|
||||
this.firstChild.hideResourceTooltip();
|
||||
},
|
||||
showResourceTooltip : function(){
|
||||
this._resourcesHidden = false;
|
||||
this.firstChild.showResourceTooltip();
|
||||
}
|
||||
});
|
||||
|
|
@ -6,7 +6,8 @@ function(out){
|
|||
out.push('<div class="task-labels" ',
|
||||
this.parent._labelsHidden?'>':'style="display:block;">',
|
||||
this.getLabelsText(),'</div>');
|
||||
out.push('<div class="task-resources">');
|
||||
out.push('<div class="task-resources" ',
|
||||
this.parent._resourcesHidden?'>':'style="display:block;">');
|
||||
out.push('<div class="task-resources-inner">', this.getResourcesText(),'</div>');
|
||||
out.push('</div>');
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue