summaryrefslogtreecommitdiff
path: root/www/js/LoginCtrl.js
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2016-09-07 16:53:49 -0400
committerPliable Pixels <pliablepixels@gmail.com>2016-09-07 16:53:49 -0400
commitd093aa7ff439c56a309e1778ecb66b7b13480c73 (patch)
treebcad50ea4a9f01b7cf27ee8837aa975d87564858 /www/js/LoginCtrl.js
parent7805e0799dea82116fa39d4e5f4771111840142c (diff)
#321 - initial code - needs cleanup and better structure. Values are littered around at the moment
Former-commit-id: a5913367e5075e9b3e6eba774798d281decd4ffb
Diffstat (limited to 'www/js/LoginCtrl.js')
-rw-r--r--www/js/LoginCtrl.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/www/js/LoginCtrl.js b/www/js/LoginCtrl.js
index df85651e..457ebe79 100644
--- a/www/js/LoginCtrl.js
+++ b/www/js/LoginCtrl.js
@@ -422,6 +422,9 @@ angular.module('zmApp.controllers').controller('zmApp.LoginCtrl', ['$scope', '$r
//console.log ("*********** SAVE ITEMS CALLED ");
//console.log('Saving login');
NVRDataModel.setFirstUse(false);
+
+ // used for menu display
+ $rootScope.runMode = $scope.loginData.enableLowBandwidth ? "low":"normal";
// lets so some basic sanitization of the data
// I am already adding "/" so lets remove spurious ones