Bug #24755 » 17247.diff
t3lib/class.t3lib_pagerenderer.php (working copy) | ||
---|---|---|
var provider = Ext.Direct.addProvider(Ext.app.ExtDirectAPI[api]);
|
||
provider.on("beforecall", function(provider, transaction, meta) {
|
||
if (transaction.data) {
|
||
transaction.data[transaction.data.length] = TYPO3.ExtDirectToken;
|
||
transaction.data[transaction.data.length] = top.TYPO3.ExtDirectToken;
|
||
} else {
|
||
transaction.data = [TYPO3.ExtDirectToken];
|
||
transaction.data = [top.TYPO3.ExtDirectToken];
|
||
}
|
||
});
|
||
provider.on("call", function(provider, transaction, meta) {
|
||
if (transaction.isForm) {
|
||
transaction.params.securityToken = TYPO3.ExtDirectToken;
|
||
transaction.params.securityToken = top.TYPO3.ExtDirectToken;
|
||
}
|
||
});
|
||
}
|