mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +01:00
Fix missing event creation click handler on non-et2 home views
This commit is contained in:
parent
967aa0f595
commit
ec750ac330
@ -118,7 +118,13 @@ class calendar_favorite_portlet extends home_favorite_portlet
|
|||||||
unset($GLOBALS['egw_info']['flags']['app_header']);
|
unset($GLOBALS['egw_info']['flags']['app_header']);
|
||||||
// Force loading of CSS
|
// Force loading of CSS
|
||||||
egw_framework::include_css_js_response();
|
egw_framework::include_css_js_response();
|
||||||
|
|
||||||
|
// Set this to calendar so app.js gets initialized
|
||||||
|
$old_app = $GLOBALS['egw_info']['flags']['currentapp'];
|
||||||
|
$GLOBALS['egw_info']['flags']['currentapp'] = 'calendar';
|
||||||
|
|
||||||
$etemplate->exec(get_called_class() .'::process',$content);
|
$etemplate->exec(get_called_class() .'::process',$content);
|
||||||
|
$GLOBALS['egw_info']['flags']['currentapp'] = $old_app;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -670,6 +670,7 @@ img.calendar_print_button, img.calendar_print_appicon {
|
|||||||
/**
|
/**
|
||||||
* Home page portlets
|
* Home page portlets
|
||||||
*/
|
*/
|
||||||
|
.calendar_favorite_portlet .calendar_calMonthNavHeader a img,
|
||||||
.calendar_favorite_portlet .calendar_calWeekNavHeader a img,
|
.calendar_favorite_portlet .calendar_calWeekNavHeader a img,
|
||||||
.calendar_favorite_portlet .calendar_calDayColHeader a img,
|
.calendar_favorite_portlet .calendar_calDayColHeader a img,
|
||||||
.calendar_favorite_portlet .calendar_plannerScale a img{
|
.calendar_favorite_portlet .calendar_plannerScale a img{
|
||||||
|
@ -678,6 +678,7 @@ img.calendar_print_appicon {
|
|||||||
/**
|
/**
|
||||||
* Home page portlets
|
* Home page portlets
|
||||||
*/
|
*/
|
||||||
|
.calendar_favorite_portlet .calendar_calMonthNavHeader a img,
|
||||||
.calendar_favorite_portlet .calendar_calWeekNavHeader a img,
|
.calendar_favorite_portlet .calendar_calWeekNavHeader a img,
|
||||||
.calendar_favorite_portlet .calendar_calDayColHeader a img,
|
.calendar_favorite_portlet .calendar_calDayColHeader a img,
|
||||||
.calendar_favorite_portlet .calendar_plannerScale a img {
|
.calendar_favorite_portlet .calendar_plannerScale a img {
|
||||||
|
Loading…
Reference in New Issue
Block a user