mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-25 12:21:26 +02:00
Include app-[theme].css for calendar navigation
This commit is contained in:
parent
95a88df345
commit
b929e98947
@ -52,7 +52,8 @@
|
|||||||
var calendar_window = egw_appWindow('calendar');
|
var calendar_window = egw_appWindow('calendar');
|
||||||
// include template specific app.css
|
// include template specific app.css
|
||||||
var link_tags = calendar_window.document.getElementsByTagName('link');
|
var link_tags = calendar_window.document.getElementsByTagName('link');
|
||||||
var cal_app_css = /calendar\/templates\/[^/]+\/app.css/;
|
var str_regex = "calendar\/templates\/[^/]+\/(app.css|app-"+ egw.preference('theme', 'common') +".css)";
|
||||||
|
var cal_app_css = new RegExp(str_regex, 'g');
|
||||||
for(var i=0; i < link_tags.length; i++)
|
for(var i=0; i < link_tags.length; i++)
|
||||||
// include template specific app.css
|
// include template specific app.css
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user