mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 04:29:28 +01:00
* 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']),
|
'no_popup' => isset($_GET['no_popup']),
|
||||||
'template' => isset($_GET['template']) ? $_GET['template'] : (isset($_REQUEST['print']) ? 'calendar.print' : 'calendar.edit'),
|
'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
|
// User wants full thing
|
||||||
unset($preserv['template']);
|
unset($preserv['template']);
|
||||||
|
@ -30,9 +30,7 @@
|
|||||||
<description rows="1" cols="2" id="${row}[title]" no_lang="1"/>
|
<description rows="1" cols="2" id="${row}[title]" no_lang="1"/>
|
||||||
<int id="${row}[quantity]" options="1,,3" readonly="true"/>
|
<int id="${row}[quantity]" options="1,,3" readonly="true"/>
|
||||||
<checkbox id="${row}[status_recurrence]" align="center" readonly="true"/>
|
<checkbox id="${row}[status_recurrence]" align="center" readonly="true"/>
|
||||||
<menulist>
|
<select id="${row}[status]" onchange="app.calendar.print_participants_status" readonly="true"/>
|
||||||
<menupopup id="${row}[status]" onchange="app.calendar.print_participants_status"/>
|
|
||||||
</menulist>
|
|
||||||
</row>
|
</row>
|
||||||
</rows>
|
</rows>
|
||||||
</grid>
|
</grid>
|
||||||
|
Loading…
Reference in New Issue
Block a user