Uploaded image for project: 'JSPWiki'
  1. JSPWiki
  2. JSPWIKI-561

User Preferences javascript not loaded properly

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 2.8.2
    • Fix Version/s: 2.8.3
    • Component/s: Templates and UI
    • Labels:
      None

      Description

      The path to load the jspwiki-prefs.js is missing a leading /

      So, the correct jsp snippet in PreferencesContent.jsp shoud look like this:

      <% 
        WikiContext context = WikiContext.findContext( pageContext ); 
        TemplateManager.addResourceRequest( context, "script", "/scripts/jspwiki-prefs.js" );
      %>
      

        Attachments

          Activity

            People

            • Assignee:
              brushed Dirk Frederickx
              Reporter:
              brushed Dirk Frederickx
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: