summaryrefslogtreecommitdiff
path: root/www/js/MontageCtrl.js
diff options
context:
space:
mode:
Diffstat (limited to 'www/js/MontageCtrl.js')
-rw-r--r--www/js/MontageCtrl.js13
1 files changed, 12 insertions, 1 deletions
diff --git a/www/js/MontageCtrl.js b/www/js/MontageCtrl.js
index b91d67e7..d0fdd1b3 100644
--- a/www/js/MontageCtrl.js
+++ b/www/js/MontageCtrl.js
@@ -225,7 +225,18 @@ angular.module('zmApp.controllers').controller('zmApp.MontageCtrl', ['$scope', '
$scope.monitors[i].Monitor.listDisplay="show";
}*/
- ZMDataModel.zmDebug ("MontageCtrl: constructing re-order list using " + JSON.stringify($scope.MontageMonitors));
+ ld = ZMDataModel.getLogin();
+ if (ld.enableDebug)
+ {
+ // Lets show the re-order list
+ for (i=0; i < $scope.MontageMonitors.length; i++)
+ {
+ ZMDataModel.zmDebug ("Montage reorder list: " + $scope.MontageMonitors[i].Monitor.Name +
+ ":listdisplay->"+$scope.MontageMonitors[i].Monitor.listDisplay);
+
+ }
+ }
+
var getConfig = $ionicPopup.show({
scope: $scope,
template: '<ion-scroll><ion-list show-delete="true" show-reorder="true">' +