X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/f5240829880f87e0cf581c6a296e436fdef0ef80..0494b8d9b9bb03ab6c22b34dae81261e3cd7e3e6:/examples/ux/Spinner.js diff --git a/examples/ux/Spinner.js b/examples/ux/Spinner.js index 099bad64..66cfdd6a 100644 --- a/examples/ux/Spinner.js +++ b/examples/ux/Spinner.js @@ -1,8 +1,8 @@ /*! - * Ext JS Library 3.3.0 - * Copyright(c) 2006-2010 Ext JS, Inc. - * licensing@extjs.com - * http://www.extjs.com/license + * Ext JS Library 3.3.1 + * Copyright(c) 2006-2010 Sencha Inc. + * licensing@sencha.com + * http://www.sencha.com/license */ /** * @class Ext.ux.Spinner @@ -89,12 +89,14 @@ Ext.ux.Spinner = Ext.extend(Ext.util.Observable, { doEnable: function(){ if (this.wrap) { + this.disabled = false; this.wrap.removeClass(this.field.disabledClass); } }, doDisable: function(){ if (this.wrap) { + this.disabled = true; this.wrap.addClass(this.field.disabledClass); this.el.removeClass(this.field.disabledClass); }