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

index f48f21c..ea1eabb 100644 (file)
@@ -347,7 +347,7 @@ Roo.extend(Roo.bootstrap.Calendar, Roo.bootstrap.Component,  {
              setCellClass(this, cells[i]);
         }
 
-        this.mbtn.setText(this.monthNames[date.getMonth()] + " " + date.getFullYear());
+        this.mbtn.setText(Date.monthNames[date.getMonth()] + " " + date.getFullYear());
         this.fireEvent('monthchange', this, date);
         
         if(!this.internalRender){