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

index 43fe63a..792540c 100644 (file)
@@ -183,6 +183,11 @@ Roo.extend(Roo.bootstrap.DateField, Roo.bootstrap.Input,  {
         
         this.startViewMode = this.viewMode;
         
+        if(this.singleMode){
+            Roo.each(this.picker().select('thead tr th', true).elements, function(v){
+                v.remove();
+            })
+        }
         
         Roo.each(this.picker().select('tfoot th.today', true).elements, function(v){
             if(!this.calendarWeeks){