From bacd0e7bdca514c6f078d1d0d65ae712b59b6125 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cornelius=20Wei=C3=9F?= Date: Thu, 20 Feb 2025 21:35:52 +0100 Subject: [PATCH] tweak(Calendar): detect new/add row correctly --- tine20/Calendar/js/AttendeeGridPanel.js | 1 + 1 file changed, 1 insertion(+) diff --git a/tine20/Calendar/js/AttendeeGridPanel.js b/tine20/Calendar/js/AttendeeGridPanel.js index 449ec659ec8..d4aa12b1694 100644 --- a/tine20/Calendar/js/AttendeeGridPanel.js +++ b/tine20/Calendar/js/AttendeeGridPanel.js @@ -344,6 +344,7 @@ Tine.Calendar.AttendeeGridPanel = Ext.extend(Ext.grid.EditorGridPanel, { o.record.reject(); this.startEditing(o.row, o.column); } else if (o.value || type === 'email') { + o.record.setId(String(o.record.id).replace(/new-/, '')); // set status authkey for contacts and recources so user can edit status directly // NOTE: we can't compute if the user has editgrant to the displaycontainer of an account here! // WELL we could add the info to search attendee somehow