summaryrefslogtreecommitdiff
path: root/www/js/MontageCtrl.js
diff options
context:
space:
mode:
authorARC <arjunrc@gmail.com>2015-05-09 19:18:30 -0400
committerARC <arjunrc@gmail.com>2015-05-09 19:18:30 -0400
commitfdb1d93c54e4c67639185f2c859b1fec6a5fb904 (patch)
tree3e4154164a3fc8f349503748b30fd99cd4946607 /www/js/MontageCtrl.js
parentbfe426a83bfcd32bac22bc06cccb15f15a9f9450 (diff)
Added support to limit maximum monitors in Montage View and also added a portal alias - those who many not be using one can keep this empty
Diffstat (limited to 'www/js/MontageCtrl.js')
-rw-r--r--www/js/MontageCtrl.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/www/js/MontageCtrl.js b/www/js/MontageCtrl.js
index 57573c5e..c85011b0 100644
--- a/www/js/MontageCtrl.js
+++ b/www/js/MontageCtrl.js
@@ -73,8 +73,10 @@ function onPause() {
}
- console.log("********* Inside Montage Ctrl");
+
$scope.LoginData = ZMDataModel.getLogin();
+ $scope.monLimit = $scope.LoginData.maxMontage;
+ console.log("********* Inside Montage Ctrl, MAX LIMIT="+$scope.monLimit);
// slider is tied to the view slider for montage
//Remember not to use a variable. I'm using an object