Bug 26683: Unable to download index.php from localhost message displayed at complete page in IE7 & IE8
This commit is contained in:
parent
1810cf1af1
commit
06a0fc7e69
1 changed files with 3 additions and 1 deletions
|
|
@ -1060,7 +1060,9 @@ class WebInstaller_Complete extends WebInstallerPage {
|
|||
// Pop up a dialog box, to make it difficult for the user to forget
|
||||
// to download the file
|
||||
$lsUrl = $GLOBALS['wgServer'] . $this->parent->getURL( array( 'localsettings' => 1 ) );
|
||||
$this->parent->request->response()->header( "Refresh: 0;url=$lsUrl" );
|
||||
$this->addHtml( '<script type="' . $GLOBALS['wgJsMimeType'] . '">jQuery( document ).ready( function() { document.location='
|
||||
. Xml::encodeJsVar( $lsUrl) . "; } );</script>\n" );
|
||||
// JS appears the only method that works consistently with IE7+
|
||||
|
||||
$this->startForm();
|
||||
$this->parent->disableLinkPopups();
|
||||
|
|
|
|||
Loading…
Reference in a new issue