Bug #28952 » class.t3lib_tceforms.php.patch
t3lib/class.t3lib_tceforms.php (working copy) | ||
---|---|---|
$replace = 'replace(/' . $idTagPrefix . '-/g,"' . $idTagPrefix . '-"+' . $var . '+"-")';
|
||
$onClickInsert = 'var ' . $var . ' = "' . 'idx"+(new Date()).getTime();';
|
||
// Do not replace $isTagPrefix in setActionStatus() because it needs section id!
|
||
$onClickInsert .= 'new Insertion.Bottom($("' . $idTagPrefix . '"), unescape("' . rawurlencode($newElementTemplate) . '").' . $replace . '); setActionStatus("' . $idTagPrefix . '");';
|
||
$onClickInsert .= 'new Insertion.Bottom($("' . $idTagPrefix . '"), unescape(decodeURIComponent("' . rawurlencode($newElementTemplate) . '")).' . $replace . '); setActionStatus("' . $idTagPrefix . '");';
|
||
$onClickInsert .= 'eval(unescape("' . rawurlencode(implode(';', $this->additionalJS_post)) . '").' . $replace . ');';
|
||
$onClickInsert .= 'TBE_EDITOR.addActionChecks("submit", unescape("' . rawurlencode(implode(';', $this->additionalJS_submit)) . '").' . $replace . ');';
|
||
$onClickInsert .= 'return false;';
|
- « Previous
- 1
- 2
- Next »