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:
Farruco Sanjurjo 2010-08-27 14:44:16 +02:00
parent 27fd71a8cc
commit 3645d9fbe4

View file

@ -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());
}
})