Roo/bootstrap/Calendar.js
authorAlan Knowles <alan@roojs.com>
Tue, 18 Feb 2014 05:53:55 +0000 (13:53 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 18 Feb 2014 05:53:55 +0000 (13:53 +0800)
Roo/bootstrap/Calendar.js

index 80a62e5..0ff695b 100644 (file)
@@ -374,7 +374,7 @@ Roo.extend(Roo.bootstrap.Calendar, Roo.bootstrap.Component,  {
              setCellClass(this, cells[i]);
         }
 
-        //this.el.select('.fc-header-title h2',true).first().setText(Date.monthNames[date.getMonth()] + " " + date.getFullYear());
+        this.el.select('.fc-header-title h2',true).update((Date.monthNames[date.getMonth()] + " " + date.getFullYear());
         this.fireEvent('monthchange', this, date);