diff --git a/ganttzk/src/main/resources/web/js/ganttz/TaskRow.js b/ganttzk/src/main/resources/web/js/ganttz/TaskRow.js index c4a85ac6f..1b723f8e4 100644 --- a/ganttzk/src/main/resources/web/js/ganttz/TaskRow.js +++ b/ganttzk/src/main/resources/web/js/ganttz/TaskRow.js @@ -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(); } }); \ No newline at end of file diff --git a/ganttzk/src/main/resources/web/js/ganttz/mold/task-component.js b/ganttzk/src/main/resources/web/js/ganttz/mold/task-component.js index 1c71cbab7..bf8a90ede 100644 --- a/ganttzk/src/main/resources/web/js/ganttz/mold/task-component.js +++ b/ganttzk/src/main/resources/web/js/ganttz/mold/task-component.js @@ -6,7 +6,8 @@ function(out){ out.push('
':'style="display:block;">', this.getLabelsText(),'
'); - out.push('
'); + out.push('
':'style="display:block;">'); out.push('
', this.getResourcesText(),'
'); out.push('
');