PDA

View Full Version : Event constructor not setting name?



punkrider
19 Feb 2007, 10:59 AM
Is there a reason the event constructor isn't setting the name property that is being passed in?

proposed fix:

1573 Ext.util.Event = function(obj, name){
1574 - this.name;
1574 + this.name = name;

punkrider
19 Feb 2007, 11:01 AM
I am referring to line 1574 in ext-core-debug.js

jack.slocum
19 Feb 2007, 11:22 AM
Looks kind of funny sitting there by itself. ;)