Project

General

Profile

Bug #24827 » 17330.patch

Administrator Admin, 2011-03-18 11:28

View differences:

typo3_src-4.4.7/t3lib/tceforms/class.t3lib_tceforms_suggest.php 2011-03-18 11:13:50.000000000 +0100
$jsObj = str_replace(' ', '', ucwords(str_replace('-', ' ', t3lib_div::strtolower($suggestId))));
$this->TCEformsObj->additionalJS_post[] = '
var ' . $jsObj . ' = new TCEForms.Suggest("' . $fieldname . '", "' . $table . '", "' . $field .
'", "' . $row['uid'] . '", ' . $row['pid'] . ', ' . $minChars . ');
'", "' . $row['uid'] . '","' . $row['pid'] . '", ' . $minChars . ');
' . $jsObj . '.defaultValue = "' . t3lib_div::slashJS($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:labels.findRecord')) . '";
';
(2-2/2)