PDA

View Full Version : Spinner Still Not Firing Change Event



jurban
28 Sep 2010, 11:43 AM
I downloaded the latest version of EXTJS and the spinner is still not calling the function I associated with the change event. I posted this before and was told "the documentation says..." and the thread was closed. Can anyone help me get this working?

jurban
30 Sep 2010, 1:19 PM
Anyone?

Gerard Pastis
1 Oct 2010, 1:06 AM
You can try this:
http://www.sencha.com/forum/showthread.php?74556-SpinnerField-no-change-event
Or this:

if (Ext.ux && Ext.ux.form && Ext.ux.form.SpinnerField && Ext.ux.form.SpinnerField.prototype.onBlur === Ext.emptyFn) {
Ext.ux.form.SpinnerField.prototype.onBlur = Ext.ux.form.SpinnerField.superclass.onBlur;
}

CU.

jurban
1 Oct 2010, 7:40 AM
Thank you, that works!!!

Is this fix going to be made to the ext code base or will we have to remember to change our copy each time we grab a new release of ext?

Gerard Pastis
4 Oct 2010, 1:41 AM
I don't know...
You can create a "extjs-fixes.js" that you include after all other includes :)