Roo/bootstrap/Calendar.js
authorEdward <edward@roojs.com>
Thu, 25 Sep 2014 03:11:55 +0000 (11:11 +0800)
committerEdward <edward@roojs.com>
Thu, 25 Sep 2014 03:11:55 +0000 (11:11 +0800)
Roo/bootstrap/Calendar.js

index 381cae3..c7a5538 100644 (file)
@@ -642,11 +642,11 @@ Roo.extend(Roo.bootstrap.Calendar, Roo.bootstrap.Component,  {
         ev.rows = rows;
         ev.cells = cells;
         
-        if((typeof(cells[0].events) == 'undefined')){
-            cells[0].events = [];
-        }
-        
-        cells[0].events.push(ev);
+//        if((typeof(cells[0].events) == 'undefined')){
+//            cells[0].events = [];
+//        }
+//        
+//        cells[0].events.push(ev);
 //        ev.rendered = false;
 //        for (var i = 0; i < cells.length;i++) {
 //            cells[i].rows = Math.max(cells[i].rows || 0 , ev.row + 1 );