From: Alan Knowles Date: Thu, 10 Apr 2014 01:18:10 +0000 (+0800) Subject: Roo/grid/Calendar.js X-Git-Url: http://git.roojs.org/?a=commitdiff_plain;h=9932cfcaa94293d27bd5825a302f11ce2d69b084;p=roojs1 Roo/grid/Calendar.js --- diff --git a/Roo/grid/Calendar.js b/Roo/grid/Calendar.js index 23fdba188e..3a70c79373 100644 --- a/Roo/grid/Calendar.js +++ b/Roo/grid/Calendar.js @@ -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.