Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 6.4
-
Fix Version/s: 7.0-milestone-1, 6.4.1
-
Component/s: Skin - Skinx
-
Labels:
-
Difficulty:Unknown
-
Documentation:N/A
-
Documentation in Release Notes:N/A
-
Similar issues:
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
-