summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorAleksander Machniak <machniak@kolabsys.com>2015-01-08 16:07:26 (GMT)
committerAleksander Machniak <machniak@kolabsys.com>2015-01-08 16:07:26 (GMT)
commitff4052e7dc227d5466ebc9eaf92f5bedefc99bec (patch)
tree037ae0b4450d55d725a36163b88ed05217b91294 /plugins
parenteab95ffdc2f7ad8636fc182e7e3a45a1b9a30879 (diff)
downloadroundcubemail-plugins-kolab-ff4052e7dc227d5466ebc9eaf92f5bedefc99bec.tar.gz
Fix javascript error when calling "Save as event" from email message view page
Diffstat (limited to 'plugins')
-rw-r--r--plugins/calendar/calendar_base.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/calendar/calendar_base.js b/plugins/calendar/calendar_base.js
index 289bb69..9ad27e3 100644
--- a/plugins/calendar/calendar_base.js
+++ b/plugins/calendar/calendar_base.js
@@ -78,7 +78,8 @@ function rcube_calendar(settings)
{
if (event.title) {
this.ui.add_event(event);
- rcmail.message_list.blur();
+ if (rcmail.message_list)
+ rcmail.message_list.blur();
}
};