Roo/bootstrap/Calendar.js
authorAlan Knowles <alan@roojs.com>
Tue, 18 Feb 2014 05:41:46 +0000 (13:41 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 18 Feb 2014 05:41:46 +0000 (13:41 +0800)
Roo/bootstrap/Calendar.js

index 59e1a5a..d53e559 100644 (file)
@@ -356,7 +356,7 @@ Roo.extend(Roo.bootstrap.Calendar, Roo.bootstrap.Component,  {
         for(; i < startingPos; i++) {
             textEls[i].innerHTML = (++prevStart);
             d.setDate(d.getDate()+1);
-            cells[i].className = "fc-past";
+            cells[i].className = "fc-past fc-other-month";
             setCellClass(this, cells[i]);
         }
         for(; i < days; i++){
@@ -370,7 +370,7 @@ Roo.extend(Roo.bootstrap.Calendar, Roo.bootstrap.Component,  {
         for(; i < 42; i++) {
              textEls[i].innerHTML = (++extraDays);
              d.setDate(d.getDate()+1);
-             cells[i].className = "fc-future";
+             cells[i].className = "fc-future fc-other-month";
              setCellClass(this, cells[i]);
         }