From 7aef689fe67189e4efff5c2a567c5caadc50d89e Mon Sep 17 00:00:00 2001 From: Tom Reijnders Date: Thu, 4 May 2023 23:12:44 +0200 Subject: [PATCH] Fixed #1213 - previous fix did not work if theme was not set at all This happens with very old projects (in this case 2015) --- .../xerte/parent_templates/Nottingham/common_html5/js/xenith.js | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/xerte/parent_templates/Nottingham/common_html5/js/xenith.js b/modules/xerte/parent_templates/Nottingham/common_html5/js/xenith.js index 2280ede20..adde2f7a3 100644 --- a/modules/xerte/parent_templates/Nottingham/common_html5/js/xenith.js +++ b/modules/xerte/parent_templates/Nottingham/common_html5/js/xenith.js @@ -757,6 +757,7 @@ function x_getThemeInfo(thisTheme, themeChg) { // some older themes use images for interface buttons (not FontAwesome icons) - it's only these themes that can fall back to use the defaultFA (all others should have FA icons set in theme) // these themes should have imgbtns: true in the theme info file if (thisTheme == undefined || thisTheme == "default") { + x_params.theme = "default"; x_setUpThemeBtns({ imgbtns: 'true' }, themeChg); } else {