include theme-specific app.js file for calendar sidebox

This commit is contained in:
Ralf Becker 2015-10-05 12:15:23 +00:00
parent 022c273860
commit 8655183c3c

View File

@ -238,8 +238,9 @@ class calendar_ui
// load etemplate2
egw_framework::validate_file('/etemplate/js/etemplate2.js');
// load our app.js file
egw_framework::validate_file('/calendar/js/app.js');
// search for app specific css file, so it can customize the theme
egw_framework::includeCSS('calendar', 'app-'.$GLOBALS['egw_info']['user']['preferences']['common']['theme']) ||
egw_framework::includeCSS('calendar', 'app');
common::egw_header();