#42812Most checkboxes (like Extended View) are not working due to javascript bug
Description
Typo3 Version 4.5.21
t3lib/class.t3lib_befunc.php
Before:
// $onClick = ‘jumpToUrl(’ . t3lib_div::quoteJSvalue($script . ‘?’ . $mainParams . $addparams . ‘&’ . $elementName) . ‘=+(this.checked?1:0),this);’;
After:
$onClick = ‘jumpToUrl(’ . t3lib_div::quoteJSvalue($script . ‘?’ . $mainParams . $addparams . ‘&’ . $elementName . ‘=’) . ‘+(this.checked?1:0),this);’;
Just shift the “=” into the quoting.