Roo/bootstrap/Calendar.js
authorEdward <edward@roojs.com>
Thu, 6 Mar 2014 08:48:43 +0000 (16:48 +0800)
committerEdward <edward@roojs.com>
Thu, 6 Mar 2014 08:48:43 +0000 (16:48 +0800)
Roo/bootstrap/Calendar.js

index e6ed888..f185335 100644 (file)
@@ -270,6 +270,11 @@ Roo.extend(Roo.bootstrap.Calendar, Roo.bootstrap.Component,  {
         this.store.on('load', this.onLoad, this);
         
         this.resize();
+        this.cells = this.el.select('.fc-day',true);
+        Roo.log('cells');
+        Roo.log(this.cells);
+        this.textNodes = this.el.query('.fc-day-number');
+        this.cells.addClassOnOver('fc-state-hover');
         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);