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

index e37bc1b..b6ac4e9 100644 (file)
@@ -251,6 +251,7 @@ Roo.extend(Roo.bootstrap.Calendar, Roo.bootstrap.Component,  {
         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-today',true).on('click', this.showToday, this);
         this.el.select('.fc-button',true).addClassOnOver('fc-state-hover');
         this.cells.addClassOnOver('fc-state-hover');