Issue Bug Closed

#70272requestUpdate on select field using rendermode=tree causes javascript error

Philipp Wrann 10/01/15, 15:52 updated 10/21/17, 17:42

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.

Reviews 1