+ Reply to Thread
if(!this.firing) { this.listeners.push(l); }else{ // The push method is used to add one or more elements to an array, // returning the new length of it. This affects the length of the array and NOT // the array. this.listeners = this.listeners.slice(0).push(l); }
Thanks, this is similar to another one I just fixed.
Jack Slocum Ext JS Founder Original author of Ext JS 1, 2 & 3. Twitter: @jackslocum jack@extjs.com
Sencha is used by over two million developers. Join the community, wherever you’d like that community to be
or Join Us