X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=roojs-debug.js;h=5fb01cc41adf2bc37d74387cdb42a7675316614e;hb=refs%2Fheads%2Fwip_alan_T5956_handle_file_input_with_stripping;hp=8541c8ddde2b371fc63dcad7f48b2649b5984603;hpb=7a8cf25e96228f4cd5384b0c636d0e687ec4deb6;p=roojs1 diff --git a/roojs-debug.js b/roojs-debug.js index 8541c8ddde..5fb01cc41a 100644 --- a/roojs-debug.js +++ b/roojs-debug.js @@ -39532,6 +39532,10 @@ Roo.extend(Roo.form.TextField, Roo.form.Field, { // private - clean the leading white space cleanLeadingSpace : function(e) { + if (this.inputType == 'file') { + return; + } + this.setValue((this.getValue() + '').replace(/^\s+/,'')); }, /**