mirror of
https://github.com/Icinga/icingadb-web.git
synced 2026-05-28 04:36:06 -04:00
configuration.php: Don't load migrate.js for IE users
This commit is contained in:
parent
d6fbcb6e4e
commit
59e3d79c36
1 changed files with 5 additions and 1 deletions
|
|
@ -570,6 +570,10 @@ namespace Icinga\Module\Icingadb {
|
|||
}
|
||||
|
||||
$this->provideJsFile('action-list.js');
|
||||
$this->provideJsFile('migrate.js');
|
||||
$this->provideJsFile('loadmore.js');
|
||||
|
||||
$forIe11 = (bool) preg_match('/Trident\/7.0;.*rv:11/', $_SERVER['HTTP_USER_AGENT']);
|
||||
if (! $forIe11) {
|
||||
$this->provideJsFile('migrate.js');
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue