X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=roojs-ui-debug.js;h=b17c7324e98ffa9b1ddf415165d4f853b9db6173;hb=a9512966febab0a7572d0d750bf6262a7880eb82;hp=8e00541f52456560bddaf12be677b6887718e1b5;hpb=d797239a600c927a721556694e9ca3faf26a3337;p=roojs1 diff --git a/roojs-ui-debug.js b/roojs-ui-debug.js index 8e00541f52..b17c7324e9 100644 --- a/roojs-ui-debug.js +++ b/roojs-ui-debug.js @@ -17081,7 +17081,7 @@ Roo.extend(Roo.form.TextField, Roo.form.Field, { // private - clean the leading white space cleanLeadingSpace : function(e) { - if (this.constructor == Roo.Form.TextField && this.inputType == 'file') { + if ( this.inputType == 'file') { return; } @@ -17846,7 +17846,8 @@ Roo.extend(Roo.form.NumberField, Roo.form.TextField, { * Create a new DateField * @param {Object} config */ -Roo.form.DateField = function(config){ +Roo.form.DateField = function(config) +{ Roo.form.DateField.superclass.constructor.call(this, config); this.addEvents({ @@ -18194,7 +18195,13 @@ dateField.setValue('2006-5-4'); return String(this.getValue()) !== String(this.startValue); + }, + // @overide + cleanLeadingSpace : function(e) + { + return; } + });/* * Based on: * Ext JS Library 1.1.1