Issue Bug Closed

#42812Most checkboxes (like Extended View) are not working due to javascript bug

Michael Späth 11/09/12, 11:23 updated 10/02/18, 12:14

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.

Reviews 3