Skip to content
Snippets Groups Projects
Commit 172198af authored by Benoit Lavenier's avatar Benoit Lavenier
Browse files

[enh] Check is fallback is alive before asking confirmation to user

parent 9d662243
No related branches found
No related tags found
No related merge requests found
Pipeline #3443 passed
...@@ -151,7 +151,7 @@ angular.module('cesium.platform', ['ngIdle', 'cesium.config', 'cesium.services'] ...@@ -151,7 +151,7 @@ angular.module('cesium.platform', ['ngIdle', 'cesium.config', 'cesium.services']
// silent, but return no result (will loop to the next fallback node) // silent, but return no result (will loop to the next fallback node)
}) })
.then(function(res) { .then(function(res) {
if (!res) checkBmaNodeAlive(); // Loop if (!res) return checkBmaNodeAlive(); // Loop
return $translate('CONFIRM.USE_FALLBACK_NODE', {old: BMA.server, new: newServer}) return $translate('CONFIRM.USE_FALLBACK_NODE', {old: BMA.server, new: newServer})
.then(function(msg) { .then(function(msg) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment