diff --git a/ganttzk/src/main/resources/web/js/ganttz/DependencyComponent.js b/ganttzk/src/main/resources/web/js/ganttz/DependencyComponent.js index 7bc65eec2..6b3d29661 100644 --- a/ganttzk/src/main/resources/web/js/ganttz/DependencyComponent.js +++ b/ganttzk/src/main/resources/web/js/ganttz/DependencyComponent.js @@ -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()); + } }) \ No newline at end of file