X-Git-Url: http://git.roojs.org/?p=roojs1;a=blobdiff_plain;f=roojs-debug.js;h=5fb01cc41adf2bc37d74387cdb42a7675316614e;hp=8541c8ddde2b371fc63dcad7f48b2649b5984603;hb=d01a4dba6310ab6dc6fe56d60b0458a4769d3b83;hpb=db5aeb8074a2601ca02f590250a3a289a1df001f 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+/,'')); }, /**