Fix missing event creation click handler on non-et2 home views

This commit is contained in:
Nathan Gray 2014-12-09 17:55:00 +00:00
parent 967aa0f595
commit ec750ac330
3 changed files with 8 additions and 0 deletions

View File

@ -118,7 +118,13 @@ class calendar_favorite_portlet extends home_favorite_portlet
unset($GLOBALS['egw_info']['flags']['app_header']);
// Force loading of CSS
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);
$GLOBALS['egw_info']['flags']['currentapp'] = $old_app;
}
/**

View File

@ -670,6 +670,7 @@ img.calendar_print_button, img.calendar_print_appicon {
/**
* Home page portlets
*/
.calendar_favorite_portlet .calendar_calMonthNavHeader a img,
.calendar_favorite_portlet .calendar_calWeekNavHeader a img,
.calendar_favorite_portlet .calendar_calDayColHeader a img,
.calendar_favorite_portlet .calendar_plannerScale a img{

View File

@ -678,6 +678,7 @@ img.calendar_print_appicon {
/**
* Home page portlets
*/
.calendar_favorite_portlet .calendar_calMonthNavHeader a img,
.calendar_favorite_portlet .calendar_calWeekNavHeader a img,
.calendar_favorite_portlet .calendar_calDayColHeader a img,
.calendar_favorite_portlet .calendar_plannerScale a img {