Show always print button in calendar print template

This commit is contained in:
Hadi Nategh 2013-10-17 12:31:19 +00:00
parent 84de505721
commit 529d78e0b3

View File

@ -1554,7 +1554,7 @@ function replace_eTemplate_onsubmit()
if ($view) if ($view)
{ {
$readonlys['__ALL__'] = true; // making everything readonly, but widgets set explicitly to false $readonlys['__ALL__'] = true; // making everything readonly, but widgets set explicitly to false
$readonlys['alarm'] = $readonlys['button[cancel]'] = $readonlys['action'] = $readonlys['print'] = $readonlys['alarm'] = $readonlys['button[cancel]'] = $readonlys['action'] =
$readonlys['before_after'] = $readonlys['button[add_alarm]'] = $readonlys['new_alarm[owner]'] = $readonlys['before_after'] = $readonlys['button[add_alarm]'] = $readonlys['new_alarm[owner]'] =
$readonlys['new_alarm[days]'] = $readonlys['new_alarm[hours]'] = $readonlys['new_alarm[mins]'] = false; $readonlys['new_alarm[days]'] = $readonlys['new_alarm[hours]'] = $readonlys['new_alarm[mins]'] = false;