Bug #20379 » 11013.diff
typo3/sysext/install/mod/install.js (working copy) | ||
---|---|---|
load: function(obj) {
|
||
// fallback if AJAX is not possible (e.g. IE < 6)
|
||
if (typeof Ajax.getTransport() != 'object') {
|
||
window.location.href = this.thisScript + '?eID=' + this.eID + '&cmd=' + this.cmd;
|
||
window.location.href = this.thisScript + '?eID=' + this.eID + '&cmd=' + this.cmd + '&hash=' + Math.random();
|
||
return;
|
||
}
|
||
new Ajax.Request(this.thisScript, {
|
||
method: 'get',
|
||
parameters: '?eID=' + this.eID + '&cmd=' + this.cmd,
|
||
parameters: '?eID=' + this.eID + '&cmd=' + this.cmd + '&hash=' + Math.random(),
|
||
onComplete: function(xhr) {
|
||
document.getElementsByName('TYPO3_INSTALL[localconf.php][encryptionKey]').item(0).value=xhr.responseText;
|
||
}.bind(this)
|