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

index d0e4b3a..1121566 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).setText(Date.monthNames[date.getMonth()] + " " + date.getFullYear());
+        this.el.select('.fc-header-title h2',true).first().setText(Date.monthNames[date.getMonth()] + " " + date.getFullYear());
         this.fireEvent('monthchange', this, date);