PDA

View Full Version : A patch for the patch



Starfall
6 Nov 2010, 4:16 AM
Hello everybody! I don't really know where this topic should've been posted, so excuse me if this is not the right forum.

http://code.extjs.com:8080/ext/ticket/159

The onFieldChange method should be like this:

onFieldChange: function() {
this.fireEvent.apply(this, ['change'].concat(Array.prototype.slice.call(arguments)));
}

splice returns the removed elements, not the array itself.