diff --git a/calendar/inc/class.calendar_uiforms.inc.php b/calendar/inc/class.calendar_uiforms.inc.php index 6e86feb311..d08a7c74bf 100644 --- a/calendar/inc/class.calendar_uiforms.inc.php +++ b/calendar/inc/class.calendar_uiforms.inc.php @@ -1531,7 +1531,7 @@ class calendar_uiforms extends calendar_ui $readonlys['__ALL__'] = true; // making everything readonly, but widgets set explicitly to false $readonlys['alarm'] = $readonlys['button[cancel]'] = $readonlys['action'] = $readonlys['before_after'] = $readonlys['button[add_alarm]'] = $readonlys['new_alarm[owner]'] = - $readonlys['new_alarm[options]'] = false; + $readonlys['new_alarm[options]'] = $readonlys['new_alarm[date]'] = false; $content['participants']['no_add'] = true; diff --git a/calendar/js/app.js b/calendar/js/app.js index dca128b23d..4ab04ba118 100644 --- a/calendar/js/app.js +++ b/calendar/js/app.js @@ -1256,7 +1256,7 @@ app.classes.calendar = AppJS.extend( { alarm_date.set_class(''); } - var startDate = start.get_value(); + var startDate = typeof start.get_value != 'undefined'?start.get_value():start.value; if (startDate) { var date = new Date(startDate);