Details
-
Bug
-
Resolution: Fixed
-
Major
-
12.7
-
Unknown
-
N/A
-
N/A
-
Description
Steps to reproduce in XWiki 12.7 or greater:
1. Add the following code in a wiki page and save the page:
{{velocity}} {{html}} #set ($discard = $xwiki.jsfx.use('uicomponents/widgets/colorpicker/procolor.js', true)) <input class="procolor" name="color" type="text" /> {{/html}} {{/velocity }}
2. In view mode, try to pick a color.
Expected result: color picker is displayed and a color can be picked
Actual result: "Uncaught ReferenceError: assignment to undeclared variable source" error occurs in procolor.js, see the browser console.
Attachments
Issue Links
- relates to
-
XWIKI-18107 Drop procolor.js and the color picker based on it
- Closed
-
XWIKI-18164 Remove the old date picker based on Prototype.js
- Closed