summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
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();
}
};