From: Jan Schneider Date: Mon, 19 Apr 2010 12:49:44 +0000 (+0200) Subject: Don't remove original event if saving as new. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=1a561100339184309fecf399888b3eaf7615a7b1;p=horde.git Don't remove original event if saving as new. --- diff --git a/kronolith/js/kronolith.js b/kronolith/js/kronolith.js index a7934f91a..1586e9097 100644 --- a/kronolith/js/kronolith.js +++ b/kronolith/js/kronolith.js @@ -4368,7 +4368,7 @@ KronolithCore = { as_new: asnew ? 1 : 0 }), function(r) { - if (r.response.events && eventid) { + if (!asnew && r.response.events && eventid) { this.removeEvent(eventid, cal); } this.loadEventsCallback(r);