Upgrade to ExtJS 3.0.3 - Released 10/11/2009
[extjs.git] / examples / ux / SpinnerField.js
index 7711bed..d18580a 100644 (file)
@@ -1,5 +1,5 @@
 /*!
- * Ext JS Library 3.0.0
+ * Ext JS Library 3.0.3
  * Copyright(c) 2006-2009 Ext JS, LLC
  * licensing@extjs.com
  * http://www.extjs.com/license
@@ -13,6 +13,7 @@ Ext.ns('Ext.ux.form');
  * @xtype spinnerfield\r
  */\r
 Ext.ux.form.SpinnerField = Ext.extend(Ext.form.NumberField, {\r
+    actionMode: 'wrap',\r
     deferHeight: true,\r
     autoSize: Ext.emptyFn,\r
     onBlur: Ext.emptyFn,\r
@@ -32,17 +33,6 @@ Ext.ux.form.SpinnerField = Ext.extend(Ext.form.NumberField, {
                Ext.ux.form.SpinnerField.superclass.constructor.call(this, Ext.apply(config, {plugins: plugins}));\r
        },\r
 \r
-    onShow: function(){\r
-        if (this.wrap) {\r
-            this.wrap.dom.style.display = '';\r
-            this.wrap.dom.style.visibility = 'visible';\r
-        }\r
-    },\r
-\r
-    onHide: function(){\r
-        this.wrap.dom.style.display = 'none';\r
-    },\r
-\r
     // private\r
     getResizeEl: function(){\r
         return this.wrap;\r