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

index 4d246b9..8d37453 100644 (file)
@@ -249,8 +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',true).on('click', this.showPrevMonth, this);
-        this.el.select('fc-button-next',true).on('click', this.showNextMonth, this);
+        this.el.select('.fc-button-prev',true).on('click', this.showPrevMonth, this);
+        this.el.select('.fc-button-next',true).on('click', this.showNextMonth, this);
         
     },
     resize : function() {