mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 12:39:25 +01:00
* Calendar: Fix not being able to add calenadr alarm for user with limited access
-Fix javascript error while switching to custom alarm date
This commit is contained in:
parent
aa10bc53a5
commit
9b917407e0
@ -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;
|
||||
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user