You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jspwiki.apache.org by "Dirk Frederickx (JIRA)" <ji...@apache.org> on 2009/05/26 19:17:45 UTC

[jira] Created: (JSPWIKI-561) User Preferences javascript not loaded properly

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.


[jira] Closed: (JSPWIKI-561) User Preferences javascript not loaded properly

Posted by "Dirk Frederickx (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JSPWIKI-561?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dirk Frederickx closed JSPWIKI-561.
-----------------------------------

    Resolution: Won't Fix

The javascript path is correct. No change. 
dirk

> 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.