summaryrefslogtreecommitdiff
path: root/www/js/MontageHistoryCtrl.js
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2019-02-02 09:49:25 -0500
committerPliable Pixels <pliablepixels@gmail.com>2019-02-02 09:49:25 -0500
commit2be52f392f074844e450b828b22a8744e8e8c4ca (patch)
tree0701024840ef0c05e4d315c9ae070585b4e3ced9 /www/js/MontageHistoryCtrl.js
parent35538f60bedeba2e7dc5262ea1315e23d4394ef8 (diff)
#775 allow swipe for jpegs too
Diffstat (limited to 'www/js/MontageHistoryCtrl.js')
-rw-r--r--www/js/MontageHistoryCtrl.js13
1 files changed, 13 insertions, 0 deletions
diff --git a/www/js/MontageHistoryCtrl.js b/www/js/MontageHistoryCtrl.js
index 0c8bf2a0..8f0a0fb7 100644
--- a/www/js/MontageHistoryCtrl.js
+++ b/www/js/MontageHistoryCtrl.js
@@ -777,6 +777,19 @@ angular.module('zmApp.controllers').controller('zmApp.MontageHistoryCtrl', ['$sc
//NVR.isBackground());
return NVR.isBackground();
};
+
+ $scope.skipImage = function (m, dirn) {
+
+ NVR.debug ("skipping image in direction:"+dirn);
+ var cmd = (dirn == -1)?12:13;
+ sendCmd(m.Monitor.Id, cmd);
+ //var CMD_PREV = 12;
+ //var CMD_NEXT = 13;
+
+
+
+
+ }
$scope.toggleControls = function () {
$scope.showControls = !$scope.showControls;
};