Bug #20941 » irre_feedit.patch
/home/webmaster/frm2/typo3_src/t3lib/class.t3lib_tceforms.php 2009-12-08 09:03:44.000000000 +0100 | ||
---|---|---|
if ($this->inline->inlineCount) {
|
||
$GLOBALS['SOBE']->doc->getPageRenderer()->loadScriptaculous();
|
||
$this->loadJavascriptLib('../t3lib/jsfunc.inline.js');
|
||
if (TYPO3_MODE=='FE') {
|
||
$out.= 'inline.setTypo3Path("'.TYPO3_mainDir.'")';
|
||
}
|
||
$out .= '
|
||
inline.setPrependFormFieldNames("'.$this->inline->prependNaming.'");
|
||
inline.setNoTitleString("'.addslashes(t3lib_BEfunc::getNoRecordTitle(true)).'");
|
/home/webmaster/frm2/typo3_src/t3lib/jsfunc.inline.js 2009-12-08 08:51:46.000000000 +0100 | ||
---|---|---|
var inline = {
|
||
structureSeparator: '-',
|
||
prependFormFieldNames: 'data',
|
||
typo3Path: '',
|
||
noTitleString: '[No title]',
|
||
lockedAjaxMethod: {},
|
||
sourcesLoaded: {},
|
||
... | ... | |
});
|
||
},
|
||
setPrependFormFieldNames: function(value) { this.prependFormFieldNames = value; },
|
||
setTypo3Path: function(value) { this.typo3Path = value; },
|
||
setNoTitleString: function(value) { this.noTitleString = value; },
|
||
expandCollapseRecord: function(objectId, expandSingle) {
|
||
... | ... | |
makeAjaxCall: function(method, params, lock) {
|
||
var max, url='', urlParams='', options={};
|
||
if (method && params && params.length && this.lockAjaxMethod(method, lock)) {
|
||
url = 'ajax.php';
|
||
url = this.typo3Path+'ajax.php';
|
||
urlParams = '&ajaxID=t3lib_TCEforms_inline::'+method;
|
||
for (var i=0, max=params.length; i<max; i++) {
|
||
urlParams += '&ajax['+i+']='+params[i];
|