forked from extern/egroupware
* Calendar: fix not working print view, if conventional add popup is enabled
This commit is contained in:
parent
1147069fcd
commit
33682e4824
@ -1515,7 +1515,7 @@ class calendar_uiforms extends calendar_ui
|
||||
'no_popup' => isset($_GET['no_popup']),
|
||||
'template' => isset($_GET['template']) ? $_GET['template'] : (isset($_REQUEST['print']) ? 'calendar.print' : 'calendar.edit'),
|
||||
);
|
||||
if($preserv['template'] && $this->cal_prefs['new_event_dialog'] == 'edit')
|
||||
if(!isset($_REQUEST['print']) && !empty($preserv['template']) && $this->cal_prefs['new_event_dialog'] == 'edit')
|
||||
{
|
||||
// User wants full thing
|
||||
unset($preserv['template']);
|
||||
|
@ -30,9 +30,7 @@
|
||||
<description rows="1" cols="2" id="${row}[title]" no_lang="1"/>
|
||||
<int id="${row}[quantity]" options="1,,3" readonly="true"/>
|
||||
<checkbox id="${row}[status_recurrence]" align="center" readonly="true"/>
|
||||
<menulist>
|
||||
<menupopup id="${row}[status]" onchange="app.calendar.print_participants_status"/>
|
||||
</menulist>
|
||||
<select id="${row}[status]" onchange="app.calendar.print_participants_status" readonly="true"/>
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
|
Loading…
Reference in New Issue
Block a user