From 4baf3efc0a2ccd6146dc44bdfc77115fdbc55275 Mon Sep 17 00:00:00 2001 From: Farruco Sanjurjo Date: Thu, 2 Sep 2010 11:33:59 +0200 Subject: [PATCH] Added missing $supers call at overwrote method * As this $supers call was missing the children wasn't added to the parent's children array, it was just inserted at the DOM FEA: ItEr02S03MigracionZK5 --- ganttzk/src/main/resources/web/js/ganttz/DependencyList.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ganttzk/src/main/resources/web/js/ganttz/DependencyList.js b/ganttzk/src/main/resources/web/js/ganttz/DependencyList.js index c10f16e45..e96b2996c 100644 --- a/ganttzk/src/main/resources/web/js/ganttz/DependencyList.js +++ b/ganttzk/src/main/resources/web/js/ganttz/DependencyList.js @@ -2,6 +2,8 @@ zk.$package("ganttz"); ganttz.DependencyList = zk.$extends(zk.Widget, { appendChild : function(child){ + //true for ignoring DOM insertion + this.$supers('appendChild',[child,true]); jq('#listdependencies').append(child); } }); \ No newline at end of file