Details
-
Bug
-
Resolution: Fixed
-
Medium
-
7.19.5, 8.1.0, 8.0.2, 8.1.1
-
4
-
Severity 3 - Minor
-
3
-
Description
Issue Summary
JavaScript Code with a variable containing an underscore does not work in
- Page Template
- HTML macro
- 3rd Party Plugin (Script Runner)
Steps to Reproduce
Sample code block:
$test $test_1 <script type="text/javascript"> $("input[name='variableValues.test']").change(function (){ console.log($(this).val()); $("form[name='templateForm']").find("input[name='title']").val($(this).val())}) </script>
Expected Results
test_1 variable should receive an input
Actual Results
test_1 variable is not rendered correctly
Workaround
Currently there is no known workaround for this behavior. A workaround will be added here when available
Attachments
Issue Links
- relates to
-
CONFSERVER-82493 User Created Page Templates does not populate the variable with underscore, dash, colon and Japanese characters
- Closed
- links to
(2 mentioned in)