title: Extjs 4.1.1 Overridden setValue of NumberField throwing uncaught error
body: <p>I want to create a new amount field which extends number field. My goal is to format number entered in this new amount field in format <code>0,000,000.00</code>. To achieve this I have overridden <code>setValue</code> and <code>parseValue</code> methods number field. This is working as expected but I am seeing javascript error in console. I checked in Firefox and chrome and both seems to give different error. Error seems be thrown on line <code>me.callParent(v)</code> of <code>setValue</code> function. JSFiddle link for code is <a href="http://jsfiddle.net/sgondhale/g88gR/" rel="nofollow">http://jsfiddle.net/sgondhale/g88gR/</a></p>
  
  <p>Below is code as well</p>
  
  <pre><code>Ext.define('my.view.form.AmountField', {
      extend: 'Ext.form.NumberField',
      alias: 'widget.my-amountfield',
      spinDownEnabled: false,
      spinUpEnabled: false,
      hideTrigger: true,
      baseChars: '0123456789.',
      decimalPrecision: 2,
      minValue: 0.1,
      maxValue: 9999999.99,
      emptyText: '0.00',
      maxLength: 12,
      enforceMaxLength: true,
  
      parseValue: function (value) {
          value = parseFloat(String(value).replace(this.decimalSeparator, ".").replace(/,/g, ""));
          return isNaN(value) ? '' : value;
      },
  
      setValue: function (v) {
          var me = this;
          console.log(v);
          v = typeof v == 'number' ? v : String(v).replace(this.decimalSeparator, ".").replace(/,/g, "");
  
          v = isNaN(v) ? '' : Ext.util.Format.number(this.fixPrecision(String(v)), "0,000,000.00");
          me.setRawValue(v);
          return me.callParent(v);
      }
  
  
  
  });
  
  Ext.create('Ext.form.Panel', {
      renderTo: Ext.getBody(),
      width: 300,
      bodyPadding: 10,
      items: [{
          xtype: 'my-amountfield',
          fieldLabel: 'Amount'
      }]
  });
  </code></pre>
  
  <p>Error details from Chrome is</p>
  
  <p>Uncaught TypeError: Function.prototype.apply: Arguments list has wrong type ext-all.js:21</p>
  
  <p>b.implement.callParent ext-all.js:21</p>
  
  <p>Ext.define.setValue fiddle.jshell.net/_display/:53</p>
  
  <p>Ext.define.beforeBlur ext-all.js:21</p>