From: Alan Knowles Date: Wed, 31 Jul 2019 04:14:40 +0000 (+0800) Subject: Roo/form/TextField.js X-Git-Url: http://git.roojs.org/?p=roojs1;a=commitdiff_plain;h=66324e9e78a1d7ea248c0b8e6eb2a71e01f39541 Roo/form/TextField.js --- diff --git a/Roo/form/TextField.js b/Roo/form/TextField.js index 22189b9375..de50897fa2 100644 --- a/Roo/form/TextField.js +++ b/Roo/form/TextField.js @@ -174,7 +174,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; }