summaryrefslogtreecommitdiff
path: root/www/js
diff options
context:
space:
mode:
Diffstat (limited to 'www/js')
-rw-r--r--www/js/MontageCtrl.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/www/js/MontageCtrl.js b/www/js/MontageCtrl.js
index 0809fabc..f2f58e53 100644
--- a/www/js/MontageCtrl.js
+++ b/www/js/MontageCtrl.js
@@ -706,6 +706,18 @@ angular.module('zmApp.controllers')
}, 20);
}
+
+ $scope.reorderFrame = function (item) {
+ var frame = "";
+ frame = item.Monitor.streamingURL+"/nph-zms?mode=single" +
+ "&monitor="+item.Monitor.Id +
+ "&scale=50";
+
+ if ($rootScope.authSession!='undefined') frame+=$rootScope.authSession;
+ frame += NVRDataModel.insertBasicAuthToken();
+ return frame;
+ };
+
$scope.isCycleOn = function() {
return NVRDataModel.getLogin().cycleMontageProfiles;
};