summaryrefslogtreecommitdiff
path: root/www/js/DataModel.js
diff options
context:
space:
mode:
Diffstat (limited to 'www/js/DataModel.js')
-rw-r--r--www/js/DataModel.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/www/js/DataModel.js b/www/js/DataModel.js
index 150796c6..fcbb34e6 100644
--- a/www/js/DataModel.js
+++ b/www/js/DataModel.js
@@ -101,6 +101,7 @@ angular.module('zmApp.controllers')
'language': 'en',
'reachability': true,
'forceImageModePath': false,
+ 'disableNative': false
@@ -657,6 +658,13 @@ angular.module('zmApp.controllers')
}
+ if (typeof loginData.disableNative == 'undefined') {
+ zmDebug("disableNative not found, setting to false");
+ loginData.disableNative = false;
+
+ }
+
+
zmLog("DataModel init recovered this loginData as " + JSON.stringify(loginData));
} else {
zmLog("defaultServer configuration NOT found. Keeping login at defaults");