Fixed bug on overwritted method

* If the zk.Object.$init is overwritten, whereever we overwritte it we must invoke the overwritten method with the parameters provided.
If we don't do that, for example, we will lose the uuid provided by the component at the server

FEA: ItEr02S03MigracionZK5
This commit is contained in:
Farruco Sanjurjo 2010-08-20 16:55:04 +02:00 committed by Óscar González Fernández
parent 8d296813df
commit 84cd61c58c
2 changed files with 2 additions and 2 deletions

View file

@ -6,7 +6,7 @@ ganttz.GanttPanel = zk.$extends(zk.Widget,{
yMouse : null
},
$init : function(){
this.$super('$init');
this.$supers('$init', arguments);
this.$class.setInstance(this);
},
bind_ : function(evt){

View file

@ -2,7 +2,7 @@ zk.$package("ganttz.resourceload");
ganttz.resourceload.ResourceLoadList = zk.$extends(zk.Widget,{
$init : function(){
this.$super('$init');
this.$supers('$init', arguments);
this.$class.setInstance(this);
},
bind_ : function(evt){