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

index da4d2e1..4f0269e 100644 (file)
@@ -186,11 +186,15 @@ Roo.extend(Roo.bootstrap.DateField, Roo.bootstrap.Input,  {
         this.singleMode = true;
         
         if(this.singleMode){
-            Roo.each(this.picker().select('thead tr th', true).elements, function(v){
+            Roo.each(this.picker().select('thead > tr > th', true).elements, function(v){
                 v.setStyle('height', 0);
                 v.hide();
             })
             
+            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);
         }