mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 10:38:45 +02:00
#927 Detect IE7 (or compatibility mode) and warn the user that the application cannot be used with such browsers.
SVN:trunk[3247]
This commit is contained in:
@@ -66,6 +66,15 @@ class WizStepWelcome extends WizardStep
|
||||
$sMiscOptions = $this->oWizard->GetParameter('misc_options', json_encode($aMiscOptions));
|
||||
$this->oWizard->SetParameter('misc_options', $sMiscOptions);
|
||||
|
||||
$oPage->add("<!--[if lt IE 8]><div id=\"old_ie\"></div><![endif]-->");
|
||||
$oPage->add_ready_script(
|
||||
<<<EOF
|
||||
if ($('#old_ie').length > 0)
|
||||
{
|
||||
alert("Internet Explorer version 7 or older is NOT supported! (Check that IE is not running in compatibility mode)");
|
||||
}
|
||||
EOF
|
||||
);
|
||||
$oPage->add('<h1>'.ITOP_APPLICATION.' Installation Wizard</h1>');
|
||||
$aResults = SetupUtils::CheckPHPVersion($oPage);
|
||||
$this->bCanMoveForward = true;
|
||||
|
||||
Reference in New Issue
Block a user