diff --git a/UI/Scheduler/Toolbars/SOGoAppointmentFolders.toolbar b/UI/Scheduler/Toolbars/SOGoAppointmentFolders.toolbar index 4e09a1ffc..7a11a43f4 100644 --- a/UI/Scheduler/Toolbars/SOGoAppointmentFolders.toolbar +++ b/UI/Scheduler/Toolbars/SOGoAppointmentFolders.toolbar @@ -1,5 +1,5 @@ ( /* the toolbar groups -*-cperl-*- */ - ( { link = "#"; + ( { link = "new_event"; isSafe = NO; label = "New Event"; onclick = "return newEvent('event');"; diff --git a/UI/WebServerResources/SchedulerUI.js b/UI/WebServerResources/SchedulerUI.js index ab4d516d1..e3a647a7a 100644 --- a/UI/WebServerResources/SchedulerUI.js +++ b/UI/WebServerResources/SchedulerUI.js @@ -45,6 +45,8 @@ function newEvent(type, day, hour, duration) { urlstr += "?" + params.join("&"); window.open(urlstr, "", "width=490,height=470,resizable=0"); + + return false; } function newEventFromWidget(sender, type) {