summaryrefslogtreecommitdiff
path: root/www/js
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2018-04-30 15:45:00 -0400
committerPliable Pixels <pliablepixels@gmail.com>2018-04-30 15:45:00 -0400
commitfca9434de5456e2956bfabede0b412fbc206e2a1 (patch)
treeed417c7cad454422fcb73c72d69a207e555689d1 /www/js
parent34a52a7fa45cb6e82bbadb84abb6904786b58ed3 (diff)
#618 re-order frame
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;
};