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

index 0a7e8c1..eb1276b 100644 (file)
@@ -303,7 +303,9 @@ Roo.extend(Roo.bootstrap.DateField, Roo.bootstrap.Input,  {
                 currentDate = this.date && this.date.valueOf(),
                 today = this.UTCToday();
         
-        this.picker().select('>.datepicker-days thead th.switch', true).first().dom.innerHTML = Roo.bootstrap.DateField.dates[this.language].months[month]+' '+year;
+        if(!this.singleMode){
+            this.picker().select('>.datepicker-days thead th.switch', true).first().dom.innerHTML = Roo.bootstrap.DateField.dates[this.language].months[month]+' '+year;
+        }
         
 //        this.picker().select('>tfoot th.today', true).first().dom.innerHTML = Roo.bootstrap.DateField.dates[this.language].today;