[
https://issues.apache.org/jira/browse/JSPWIKI-1195?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ulf Dittmer updated JSPWIKI-1195:
---------------------------------
Description:
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|https://github.com/apache/jspwiki/tree/31f539a1fdadc0401af70bb39732c110e128eaea/jspwiki-war/src]/[main|https://github.com/apache/jspwiki/tree/31f539a1fdadc0401af70bb39732c110e128eaea/jspwiki-war/src/main]/[webapp|https://github.com/apache/jspwiki/tree/31f539a1fdadc0401af70bb39732c110e128eaea/jspwiki-war/src/main/webapp]/[templates|https://github.com/apache/jspwiki/tree/31f539a1fdadc0401af70bb39732c110e128eaea/jspwiki-war/src/main/webapp/templates]/default/commonheader.jsp
but simply adding those causes further JavaScript errors.
was: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.
> 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|https://github.com/apache/jspwiki/tree/31f539a1fdadc0401af70bb39732c110e128eaea/jspwiki-war/src]/[main|https://github.com/apache/jspwiki/tree/31f539a1fdadc0401af70bb39732c110e128eaea/jspwiki-war/src/main]/[webapp|https://github.com/apache/jspwiki/tree/31f539a1fdadc0401af70bb39732c110e128eaea/jspwiki-war/src/main/webapp]/[templates|https://github.com/apache/jspwiki/tree/31f539a1fdadc0401af70bb39732c110e128eaea/jspwiki-war/src/main/webapp/templates]/default/commonheader.jsp
> but simply adding those causes further JavaScript errors.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)