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

index 11c58fa..12b650e 100644 (file)
@@ -267,18 +267,13 @@ Roo.extend(Roo.bootstrap.Calendar, Roo.bootstrap.Component,  {
         }
         
         this.store = Roo.factory(this.store, Roo.data);
-        
         this.store.on('load', this.onLoad, this);
         
         this.resize();
-        this.cells = this.el.select('.fc-day',true);
-        this.textNodes = this.el.query('.fc-day-number');
-        
         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');
         
         this.update(new Date().clearTime());
     },