From 157c8d6730158e1d2c996fd8e90501ab1ab8c08d Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Fri, 1 Feb 2019 14:02:01 -0500 Subject: #775 make sure we don't play invalid eids and also move Event Montage up again where it was in the menu --- www/js/MontageHistoryCtrl.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'www/js/MontageHistoryCtrl.js') diff --git a/www/js/MontageHistoryCtrl.js b/www/js/MontageHistoryCtrl.js index 9168ade3..497b1973 100644 --- a/www/js/MontageHistoryCtrl.js +++ b/www/js/MontageHistoryCtrl.js @@ -869,7 +869,7 @@ angular.module('zmApp.controllers').controller('zmApp.MontageHistoryCtrl', ['$sc .then (function (success) { NVR.debug ("next event for monitor:"+m.Monitor.Id+" is "+success.eid); - if (success.eid != "null" && success.eid != m.Monitor.eid) { + if (success.eid != "null" && success.eid != m.Monitor.eid && success.eid !="-1") { var videoURL= m.Monitor.baseURL + "/index.php?view=view_video&eid=" + success.eid; -- cgit v1.2.3