[ 
https://issues.apache.org/jira/browse/JSPWIKI-1195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17885167#comment-17885167
 ] 

ASF subversion and git services commented on JSPWIKI-1195:
----------------------------------------------------------

Commit 58614efa6c461efb763c5eb1b035382f2e7e0ae5 in jspwiki's branch 
refs/heads/master from udittmer
[ https://gitbox.apache.org/repos/asf?p=jspwiki.git;h=58614efa6 ]

Fix SampleAjaxPlugin

This fixes the broken plugin; see 
https://issues.apache.org/jira/browse/JSPWIKI-1195.

> jspwiki-common.js not included in page, breaking AJAX functionality
> -------------------------------------------------------------------
>
>                 Key: JSPWIKI-1195
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-1195
>             Project: JSPWiki
>          Issue Type: Bug
>          Components: Templates and UI
>    Affects Versions: 2.12.2
>            Reporter: Ulf Dittmer
>            Priority: Minor
>
> The [https://jspwiki-wiki.apache.org/Wiki.jsp?page=SampleAjaxPlugin] plugin 
> is currently broken, because the jspwiki-common.js file (which defines the 
> Wiki.ajaxHtmlCall function) that it depends on is not included in the page.
> Likely culprit are missing lines
> <script src="<wiki:Link format='url' jsp='scripts/haddock.js'/>"></script>
> <script src="<wiki:Link format='url' jsp='scripts/mootools.js'/>"></script>
> inĀ 
> [jspwiki-war|https://github.com/apache/jspwiki/tree/31f539a1fdadc0401af70bb39732c110e128eaea/jspwiki-war]/src/main/webapp/default/commonheader.jsp
> but simply adding those causes further JavaScript errors.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to