readonly for date fields should not show popup
[roojs1] / Roo / bootstrap / form / DateField.js
index a489975..0304545 100644 (file)
@@ -564,9 +564,9 @@ Roo.extend(Roo.bootstrap.form.DateField, Roo.bootstrap.form.Input,  {
     showPopup : function()
     {
         if(this.readOnly) {
-                       return;
-               }
-               this.picker().show();
+            return;
+        }
+        this.picker().show();
         this.update();
         this.place();