From ddb5a0cf952ff3a0fabe4b032ea9cb26b3f17044 Mon Sep 17 00:00:00 2001 From: Farruco Sanjurjo Date: Tue, 7 Sep 2010 16:53:30 +0200 Subject: [PATCH] Changed how we retrieve the DependencyList widget FEA: ItEr02S03MigracionZK5 --- ganttzk/src/main/resources/web/js/ganttz/TaskComponent.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ganttzk/src/main/resources/web/js/ganttz/TaskComponent.js b/ganttzk/src/main/resources/web/js/ganttz/TaskComponent.js index 759341595..d1434165c 100644 --- a/ganttzk/src/main/resources/web/js/ganttz/TaskComponent.js +++ b/ganttzk/src/main/resources/web/js/ganttz/TaskComponent.js @@ -21,7 +21,7 @@ ganttz.TaskComponent = zk.$extends(zk.Widget, { this._dependencies.push(dependency); }, _createArrow : function(){ - var dependencylist = ganttz.DependencyList.$(jq('#ganttpanel > div[z\\.type="ganttz.dependencylist.Dependencylist"]').attr('id')); + var WGTdependencylist = ganttz.DependencyList.getInstance(); var unlinkedDependency = new ganttz.UnlinkedDependencyComponent(); unlinkedDependency.setOrigin(this.$n());