summaryrefslogtreecommitdiff
path: root/www/js/DataModel.js
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2017-12-23 20:03:44 -0500
committerPliable Pixels <pliablepixels@gmail.com>2017-12-23 20:03:44 -0500
commit41e7abfd2ec68cf4c673dc87951669506b6f38c6 (patch)
treede22ffdfa9e07834a74d409093904d7d248b8b42 /www/js/DataModel.js
parentdc43da401f3a142561b294f3d28e1a6fb3fbafec (diff)
#570 persistent sort by
Diffstat (limited to 'www/js/DataModel.js')
-rwxr-xr-xwww/js/DataModel.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/www/js/DataModel.js b/www/js/DataModel.js
index 1c74255b..a748bc2d 100755
--- a/www/js/DataModel.js
+++ b/www/js/DataModel.js
@@ -172,6 +172,7 @@ angular.module('zmApp.controllers')
'momentGridSize': 40,
'momentMonitorFilter': [],
'enableMomentSubMenu': true,
+ 'momentArrangeBy': 'StartTime',
};
@@ -1039,6 +1040,13 @@ angular.module('zmApp.controllers')
loginData.momentMonitorFilter = JSON.stringify([]);
}
+
+
+ if (typeof loginData.momentArrangeBy == 'undefined') {
+
+ loginData.momentArrangeBy = "StartTime";
+
+ }