Added a method for initializing commonly used properties at DependencyComponent widget-objecs
* This properties will be used later by other methods FEA: ItEr02S03MigracionZK5
This commit is contained in:
parent
27fd71a8cc
commit
3645d9fbe4
1 changed files with 9 additions and 1 deletions
|
|
@ -6,5 +6,13 @@ ganttz.DependencyComponent = zk.$extends(zk.Widget,{
|
|||
idTaskEnd : null,
|
||||
dependencyType : null
|
||||
},
|
||||
draw : function(){}
|
||||
$bind : function(){
|
||||
this.$supers('$bind', arguments);
|
||||
this._initializeProperties();
|
||||
}
|
||||
draw : function(){},
|
||||
_initializeProperties : function(){
|
||||
this._origin = jq('#' + this.getIdTaskOrig());
|
||||
this._destination = jq('#' + this.getIdTaskEnd());
|
||||
}
|
||||
})
|
||||
Loading…
Add table
Reference in a new issue