mirror of
https://github.com/OpenNebula/one.git
synced 2025-04-01 06:50:25 +03:00
IE11 don't support includes function (#2261)
This commit is contained in:
parent
0c53ae51ef
commit
34717012d6
@ -683,7 +683,7 @@ define(function(require) {
|
||||
var hashRes = ["Dashboard", "Settings", "NetworkTopology"];
|
||||
var res = SunstoneCfg["tabs"][tabName]["resource"];
|
||||
if (res) {
|
||||
if (!hashRes.includes(res)){
|
||||
if (hashRes.indexOf(res) < 0){
|
||||
Sunstone.runAction(res + ".list");
|
||||
} else {
|
||||
Sunstone.runAction(res + ".refresh");
|
||||
|
Loading…
x
Reference in New Issue
Block a user