User Preferences javascript not loaded properly
-----------------------------------------------
Key: JSPWIKI-561
URL: https://issues.apache.org/jira/browse/JSPWIKI-561
Project: JSPWiki
Issue Type: Bug
Components: Default template
Affects Versions: 2.8.2
Reporter: Dirk Frederickx
Assignee: Dirk Frederickx
Priority: Minor
Fix For: 2.8.3
The path to load the jspwiki-prefs.js is missing a leading /
So, the correct jsp snippet in PreferencesContent.jsp shoud look like this:
{noformat}
<%
WikiContext context = WikiContext.findContext( pageContext );
TemplateManager.addResourceRequest( context, "script",
"/scripts/jspwiki-prefs.js" );
%>
{noformat}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.