diff options
| author | Pliable Pixels <pliablepixels@gmail.com> | 2016-08-23 10:01:58 -0400 |
|---|---|---|
| committer | Pliable Pixels <pliablepixels@gmail.com> | 2016-08-23 10:01:58 -0400 |
| commit | eeecfe1699cf161b22bf2190e2c9a2bc129d0307 (patch) | |
| tree | 7739a250fe554045cdc686fb5b4e5848f25d9c30 /www/js/DataModel.js | |
| parent | d5fbc2f4ae10a703f6c0dd37886331168adeae88 (diff) | |
#310 - option to disable native trans
Former-commit-id: 62daeae024d9633c5caa11562fd3782d84d7d58f
Diffstat (limited to 'www/js/DataModel.js')
| -rw-r--r-- | www/js/DataModel.js | 8 |
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"); |
