[TYPO3-bugs] #434: class.tslib_content.php function getUpdateJS produce JS error messages
Franz Holzinger
franz at fholzinger.com
Tue Sep 25 19:11:02 CEST 2007
There is still a bug for the getUpdateJS function which causes some
browsers not to show the field values:
http://bugs.typo3.org/view.php?id=434
This is because a wrong JavaScript gets produced. The finalizing ';' is
missing after the updateForm function call.
I have found a very strange behaviour:
function getUpdateJS($dataArray, $formName, $arrPrefix, $fieldList) {
$JSPart='';
$updateValues=t3lib_div::trimExplode(',',$fieldList);
$tmp = $updateValues;
If I do not use the dummy line with $tmp, then the $updateValues is
empty and no field values are shown in sr_feuser_register.
This is with PHP Version 5.2.1. I have no explanation for this.
- Franz
More information about the TYPO3-team-bugs
mailing list