summaryrefslogtreecommitdiff
path: root/www/js/DataModel.js
diff options
context:
space:
mode:
authorpliablepixels <pliablepixels@gmail.com>2016-05-31 14:16:07 -0400
committerpliablepixels <pliablepixels@gmail.com>2016-05-31 14:16:07 -0400
commit7c2b57e3ebafe875e2672a7a04ebd189d16b1928 (patch)
tree870e6bd415b22fa54c7ebe6f72d196c7a7f51d31 /www/js/DataModel.js
parent75a26e142644f1a353f7ec8216e16802da8e9421 (diff)
#261 - additions
Former-commit-id: 58276aaa504b3c6ecccea2548d181d97c6742420
Diffstat (limited to 'www/js/DataModel.js')
-rw-r--r--www/js/DataModel.js14
1 files changed, 6 insertions, 8 deletions
diff --git a/www/js/DataModel.js b/www/js/DataModel.js
index e45829af..14864648 100644
--- a/www/js/DataModel.js
+++ b/www/js/DataModel.js
@@ -424,11 +424,6 @@ angular.module('zmApp.controllers')
loginData.montageSize = 2;
}
- if (typeof loginData.useNphZms == 'undefined')
- {
- zmDebug ("useNphZms does not exist. Setting to true");
- loginData.useNphZms = true;
- }
if (typeof loginData.useNphZms == 'undefined')
{
@@ -436,8 +431,7 @@ angular.module('zmApp.controllers')
loginData.useNphZms = true;
}
- // and now, force enable it
- loginData.useNphZms = true;
+
if (typeof loginData.useNphZmsForEvents == 'undefined')
{
@@ -445,6 +439,10 @@ angular.module('zmApp.controllers')
loginData.useNphZmsForEvents = true;
}
+ // and now, force enable it
+ loginData.useNphZms = true;
+ loginData.useNphZmsForEvents = true;
+
if (typeof loginData.packMontage == 'undefined')
{
zmDebug ("packMontage does not exist. Setting to false");
@@ -511,7 +509,7 @@ angular.module('zmApp.controllers')
if (typeof timelineModalGraphType == 'undefined')
{
zmDebug ("timeline graph type not set. Setting to all");
- loginData.timelineModalGraphType = 'all';
+ loginData.timelineModalGraphType = $translate.instant('kAll');
}
if (typeof loginData.resumeDelay == 'undefined')