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
This commit is contained in:
Farruco Sanjurjo 2010-09-02 11:33:59 +02:00
parent e2a3b7d1d8
commit 4baf3efc0a

View file

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