From ce6832a73155dc3e92afbb75b78bc4bd2dc0209f Mon Sep 17 00:00:00 2001 From: Farruco Sanjurjo Date: Tue, 26 Oct 2010 12:36:15 +0200 Subject: [PATCH] Added missing setClass method for TaskComponent widget-class * This method is invoked from the server after composing the component FEA: ItEr02S03MigracionZK5 --- ganttzk/src/main/resources/web/js/ganttz/TaskComponent.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ganttzk/src/main/resources/web/js/ganttz/TaskComponent.js b/ganttzk/src/main/resources/web/js/ganttz/TaskComponent.js index 6acd7639f..e5dadf7ad 100644 --- a/ganttzk/src/main/resources/web/js/ganttz/TaskComponent.js +++ b/ganttzk/src/main/resources/web/js/ganttz/TaskComponent.js @@ -203,6 +203,9 @@ ganttz.TaskComponent = zk.$extends(zk.Widget, { }, hideResourceTooltip : function(){ jq('#'+ this.uuid + ' .task-resources').hide(); + }, + setClass : function(cssClass){ + jq(this.$n()).addClass(cssClass); } },{ //"Class" methods and properties