roojs-ui.js
[roojs1] / Roo / form / DateField.js
index 2f96d0b..34ec579 100644 (file)
@@ -370,11 +370,7 @@ dateField.setValue('2006-5-4');
     // @overide
     cleanLeadingSpace : function(e)
     {
-        if ( this.inputType == 'file') {
-            return;
-        }
-        
-        this.setValue((this.getValue() + '').replace(/^\s+/,''));
+       return;
     }
     
 });
\ No newline at end of file