From fca9434de5456e2956bfabede0b412fbc206e2a1 Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Mon, 30 Apr 2018 15:45:00 -0400 Subject: #618 re-order frame --- www/js/MontageCtrl.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'www/js/MontageCtrl.js') 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; }; -- cgit v1.2.3