Roo/grid/Calendar.js
authorAlan Knowles <alan@roojs.com>
Thu, 10 Apr 2014 01:18:10 +0000 (09:18 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 10 Apr 2014 01:18:10 +0000 (09:18 +0800)
Roo/grid/Calendar.js

index 23fdba1..3a70c79 100644 (file)
@@ -900,8 +900,8 @@ Roo.extend(Roo.grid.Calendar, Roo.grid.Grid, {
                 add.end_dt = typeof(add.end_dt) == 'string' ? Date.parseDate(add.end_dt,'Y-m-d H:i:s') : add.end_dt,
                 add.id = add.id || d.id;
                 add.title = add.title || '??';
-                add.record = d;
-                this.addItem(add);
+                
+                this.addItem(d);
                 
             
                 // other than the 'required' coluns, we should just pass the data from the store.