Bug #70272
closed
requestUpdate on select field using rendermode=tree causes javascript error
Added by Philipp Wrann about 9 years ago.
Updated about 7 years ago.
Category:
FormEngine aka TCEforms
Sprint Focus:
Remote Sprint
Description
If you define a select field as renderMode=Tree and set the field as "requestUpdate" field, a javascript error will break everything because the printed string has unescaped double quotes.
The problem is located in SelectTreeElement::render in line 136 (see screensot)
Suggestion wrap the $onChange variable in addslashes before concatenating the html-string.
Files
Can someone update the title?
requestUpdate on select field using rendermode=tree causes javascript error
Dont know how i came up with that title xD
- Subject changed from RequestUpdate in causes javascript error in Tree to requestUpdate on select field using rendermode=tree causes javascript error
- Status changed from New to In Progress
- Sprint Focus set to Remote Sprint
- Target version changed from next-patchlevel to 7 LTS
- Status changed from In Progress to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43697
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43697
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43697
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43697
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Closed
Also available in: Atom
PDF