fix some javascript warnings

This commit is contained in:
Sebastian Sdorra
2013-05-21 20:22:21 +02:00
parent c6a0dd6b01
commit 1d8da9a768
43 changed files with 156 additions and 154 deletions

View File

@@ -46,6 +46,7 @@ Sonia.util.Link = Ext.extend(Ext.BoxComponent, {
style: config.style,
'class': cl
};
config.listeners = {
render: function(c) {
c.getEl().on('click', function(){
@@ -54,7 +55,7 @@ Sonia.util.Link = Ext.extend(Ext.BoxComponent, {
}
}, this);
}
}
};
Sonia.util.Link.superclass.constructor.apply(this, arguments);
this.text = config.text;