forked from extern/egroupware
Disable videoconference field in calendar edit dialog if it's not active
This commit is contained in:
parent
5ee323dd71
commit
a4bfe9ae6b
@ -2024,10 +2024,7 @@ class calendar_uiforms extends calendar_ui
|
|||||||
if (!empty($preserved['lock_token'])) $content['lock_token'] = $preserved['lock_token'];
|
if (!empty($preserved['lock_token'])) $content['lock_token'] = $preserved['lock_token'];
|
||||||
|
|
||||||
//Disable videoconference if the module is not enabled
|
//Disable videoconference if the module is not enabled
|
||||||
if ($GLOBALS['egw_info']['user']['apps']['status'] && EGroupware\Status\Hooks::isVideoconferenceDisabled())
|
$etpl->disableElement('videoconference', $GLOBALS['egw_info']['user']['apps']['status'] && EGroupware\Status\Hooks::isVideoconferenceDisabled());
|
||||||
{
|
|
||||||
$readonlys['videoconference'] = true;
|
|
||||||
}
|
|
||||||
|
|
||||||
// non_interactive==true from $_GET calls immediate save action without displaying the edit form
|
// non_interactive==true from $_GET calls immediate save action without displaying the edit form
|
||||||
if(isset($_GET['non_interactive']) && (bool)$_GET['non_interactive'] === true)
|
if(isset($_GET['non_interactive']) && (bool)$_GET['non_interactive'] === true)
|
||||||
|
Loading…
Reference in New Issue
Block a user