summaryrefslogtreecommitdiff
path: root/www/js/DataModel.js
diff options
context:
space:
mode:
Diffstat (limited to 'www/js/DataModel.js')
-rwxr-xr-xwww/js/DataModel.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/www/js/DataModel.js b/www/js/DataModel.js
index b86c6f08..2e7279ad 100755
--- a/www/js/DataModel.js
+++ b/www/js/DataModel.js
@@ -1594,6 +1594,7 @@ angular.module('zmApp.controllers')
setCurrentServerVersion(success.data.version);
d.resolve(success.data.version);
} else {
+ debug ("Setting APIValid to false as API version was not retrieved");
$rootScope.apiValid = false;
setCurrentServerVersion("");
d.reject("-1.-1.-1");