Roo/bootstrap/DateField.js
authorEdward <edward@roojs.com>
Thu, 23 Apr 2015 05:34:35 +0000 (13:34 +0800)
committerEdward <edward@roojs.com>
Thu, 23 Apr 2015 05:34:35 +0000 (13:34 +0800)
Roo/bootstrap/DateField.js

index 4f0269e..8cc5614 100644 (file)
@@ -187,15 +187,15 @@ Roo.extend(Roo.bootstrap.DateField, Roo.bootstrap.Input,  {
         
         if(this.singleMode){
             Roo.each(this.picker().select('thead > tr > th', true).elements, function(v){
-                v.setStyle('height', 0);
+                v.setVisibilityMode(Roo.Element.DISPLAY)
                 v.hide();
             })
             
-            Roo.each(this.picker().select('thead > tr > th > i', true).elements, function(v){
-                v.remove();
-            })
+//            Roo.each(this.picker().select('thead > tr > th > i', true).elements, function(v){
+//                v.remove();
+//            })
             
-            this.picker().select('thead tr', true).first().setStyle('height', 0);
+//            this.picker().select('thead tr', true).first().setStyle('height', 0);
         }
         
         Roo.each(this.picker().select('tfoot th.today', true).elements, function(v){