Details
-
Bug
-
Resolution: Fixed
-
Major
-
6.4
-
Unknown
-
N/A
-
N/A
-
Description
- Create a test document with just a JSX include:
{{velocity}} $xwiki.jsx.use($doc.fullName) {{/velocity}}
- Then add a simple JSX object:
var times = window.times || 0; times++; alert('JSX executed! ' + times);
...leave the default option to "On this page or on demand"
- Save&View the page (make sure to refresh the browser cache).
- The javascript gets executed twice.
Not sure about SSX and how they are handled, but javascripts get included twice in the output HTML's HEAD section.
This issue looks a lot like XWIKI-7702.
Attachments
Issue Links
- is related to
-
XINFRA-154 Missing translations for the SSX/JSX class properties
- Closed
-
XWIKI-7702 When a ssx / jsx is included manually with prefixed full name and also included with "always on this wiki" then it is actually included twice
- Closed