From 7d4d543ee332b90763f12878ccf98c2a46377862 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Tue, 18 Sep 2012 12:21:52 +0200 Subject: [PATCH] set created/modified adding an event, fixes #989 --- source/Ox.UI/js/Calendar/CalendarEditor.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/Ox.UI/js/Calendar/CalendarEditor.js b/source/Ox.UI/js/Calendar/CalendarEditor.js index 99a8869f..abb832b3 100644 --- a/source/Ox.UI/js/Calendar/CalendarEditor.js +++ b/source/Ox.UI/js/Calendar/CalendarEditor.js @@ -583,6 +583,8 @@ Ox.CalendarEditor = function(options, self) { self.options.addEvent(encodeValues(event), function(result) { if (result.status.code == '200') { event.id = result.data.id; + event.created = result.data.created; + event.modified = result.data.modified; if (self.options.hasMatches) { event.matches = result.data.matches; }