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

index 2fd0d45..979a58a 100644 (file)
@@ -187,10 +187,11 @@ Roo.extend(Roo.bootstrap.DateField, Roo.bootstrap.Input,  {
         
         if(this.singleMode){
             Roo.each(this.picker().select('thead > tr > th', true).elements, function(v){
-//                v.setVisibilityMode(Roo.Element.DISPLAY)
-//                v.hide();
+                v.setVisibilityMode(Roo.Element.DISPLAY)
+                v.hide();
             })
             
+            this.picker().select('thead > tr', true).first().setStyle('width', '189px');
 //            Roo.each(this.picker().select('thead > tr > th > i', true).elements, function(v){
 //                v.remove();
 //            })