diff options
Diffstat (limited to 'www/js/DataModel.js')
| -rw-r--r-- | www/js/DataModel.js | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/www/js/DataModel.js b/www/js/DataModel.js index 233e92df..43f350d6 100644 --- a/www/js/DataModel.js +++ b/www/js/DataModel.js @@ -103,7 +103,9 @@ angular.module('zmApp.controllers') 'forceImageModePath': false, 'disableNative': false, 'vibrateOnPush': true, - 'soundOnPush': true + 'soundOnPush': true, + 'cycleMonitors': false, + 'cycleMonitorsInterval':10, // 10sec @@ -673,6 +675,18 @@ angular.module('zmApp.controllers') loginData.soundOnPush = true; } + + if (typeof loginData.cycleMonitors == 'undefined') { + + loginData.cycleMonitors = false; + + } + + if (typeof loginData.cycleMonitorsInterval == 'undefined') { + + loginData.cycleMonitorsInterval = 10; + + } log("DataModel init recovered this loginData as " + JSON.stringify(loginData)); |
