Fixed wrong theme prefix/path

git-svn-id: https://svn.libreccm.org/ccm/trunk@5853 8810af33-2d31-482b-a856-94f89814c4df
master
jensp 2019-03-06 16:45:29 +00:00
parent e5c162fc31
commit 29bfeebf2e
1 changed files with 1 additions and 3 deletions

View File

@ -174,9 +174,7 @@ public class FreeMarkerPresentationManager implements PresentationManager {
Web.getWebContext().getRequestURL().getContextPath()); Web.getWebContext().getRequestURL().getContextPath());
data.put("dcpOnButtons", data.put("dcpOnButtons",
Bebop.getConfig().doubleClickProtectionOnButtons()); Bebop.getConfig().doubleClickProtectionOnButtons());
final ThemeXSLParameterGenerator paramGenerator data.put("themePrefix", themePath);
= new ThemeXSLParameterGenerator();
data.put("themePrefix", paramGenerator.generateValue(request));
data.put("dcpOnLinks", data.put("dcpOnLinks",
Bebop.getConfig().doubleClickProtectionOnLinks()); Bebop.getConfig().doubleClickProtectionOnLinks());
data.put("dispatcherPrefix", com.arsdigita.web.URL.getDispatcherPath()); data.put("dispatcherPrefix", com.arsdigita.web.URL.getDispatcherPath());