Roo/bootstrap/Calendar.js
authorEdward <edward@roojs.com>
Thu, 6 Mar 2014 07:45:23 +0000 (15:45 +0800)
committerEdward <edward@roojs.com>
Thu, 6 Mar 2014 07:45:23 +0000 (15:45 +0800)
Roo/bootstrap/Calendar.js

index 735d8a7..0df59da 100644 (file)
@@ -275,6 +275,8 @@ Roo.extend(Roo.bootstrap.Calendar, Roo.bootstrap.Component,  {
         this.el.select('.fc-button-today',true).on('click', this.showToday, this);
         this.el.select('.fc-button',true).addClassOnOver('fc-state-hover');
         
+        this.on('monthchange', this.onMonthChange, this);
+        
         this.update(new Date().clearTime());
     },