1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-22 18:50:08 +03:00

Solved bug when Network Topology is empty (#413)

This commit is contained in:
Abel Coronado 2017-07-24 15:46:32 +02:00 committed by Ruben S. Montero
parent 1f6286b28f
commit 4998103180

View File

@ -588,7 +588,9 @@ define(function(require) {
_network.cluster(clusterOptionsByData);
});
_network.stabilize();
if(_network){
_network.stabilize();
}
}
function _openVMs(){
@ -604,10 +606,15 @@ define(function(require) {
}
});
_network.stabilize();
if(_network){
_network.stabilize();
}
}
function _fit(){
_network.fit();
if(_network){
_network.fit();
}
}
});