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

index 387a412..2d1798e 100644 (file)
@@ -248,7 +248,7 @@ Roo.extend(Roo.bootstrap.Calendar, Roo.bootstrap.Component,  {
         this.resize();
         this.cells = this.el.select('.fc-day',true);
         this.textNodes = this.el.query('.fc-day-number');
-        this.update(new Date());
+        this.update(new Date().clearTime());
         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);
@@ -290,7 +290,7 @@ Roo.extend(Roo.bootstrap.Calendar, Roo.bootstrap.Component,  {
    // private
     update : function(date)
     {
-        date = Date.
+       
         var vd = this.activeDate;
         this.activeDate = date;
         if(vd && this.el){