From cb0dfe0317bf02bd8950bc7106a37164d6593cc2 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Thu, 29 Dec 2016 14:13:02 -0500 Subject: [PATCH] Fix javascript error when opening an event dialog (introduced in last commits) --- plugins/kolab_delegation/kolab_delegation.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/kolab_delegation/kolab_delegation.js b/plugins/kolab_delegation/kolab_delegation.js index cdde2836..652427a2 100644 --- a/plugins/kolab_delegation/kolab_delegation.js +++ b/plugins/kolab_delegation/kolab_delegation.js @@ -269,7 +269,7 @@ rcube_webmail.prototype.calendar_event_init = function(data, type) var folder = data.o[type == 'calendar' ? 'calendar' : 'list'] // set identity for delegator context - this.env[type + '_settings'].identity = this.calendar_folder_delegator(folder); + this.env[type + '_settings'].identity = this.calendar_folder_delegator(folder, type); }; // returns delegator's identity data according to selected calendar/tasks folder