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

index 2c38a3d..3985172 100644 (file)
@@ -288,7 +288,7 @@ Roo.extend(Roo.bootstrap.Calendar, Roo.bootstrap.Component,  {
         var setCellClass = function(cal, cell){
             cell.title = "";
             var t = d.getTime();
-            cell.firstChild.dateValue = t;
+            cell.dateValue = t;
             if(t == today){
                 cell.className += " fc-today";
                 cell.title = cal.todayText;