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

index d534631..91458df 100644 (file)
@@ -249,6 +249,8 @@ Roo.extend(Roo.bootstrap.Calendar, Roo.bootstrap.Component,  {
         this.cells = this.el.select('.fc-day',true);
         this.textNodes = this.el.query('.fc-day-number');
         this.update(new Date());
+        this.el.select('fc-button-prev',).on('click', this.showPrevMonth, this);
+        this.el.select('fc-button-next',).on('click', this.showNextMonth, this);
         
     },
     resize : function() {