From: Alan Knowles Date: Tue, 18 Feb 2014 05:58:19 +0000 (+0800) Subject: Roo/bootstrap/Calendar.js X-Git-Url: http://git.roojs.org/?p=roojs1;a=commitdiff_plain;h=db376a2240a774efe9fe4babfa87d7e420c59d6a Roo/bootstrap/Calendar.js --- diff --git a/Roo/bootstrap/Calendar.js b/Roo/bootstrap/Calendar.js index d534631139..91458df029 100644 --- a/Roo/bootstrap/Calendar.js +++ b/Roo/bootstrap/Calendar.js @@ -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() {