diff options
| author | Pliable Pixels <pliablepixels@gmail.com> | 2019-02-01 14:02:01 -0500 |
|---|---|---|
| committer | Pliable Pixels <pliablepixels@gmail.com> | 2019-02-01 14:02:01 -0500 |
| commit | 157c8d6730158e1d2c996fd8e90501ab1ab8c08d (patch) | |
| tree | c8e0549c00972aab81bfaae1a32f150b4307b8af /www/js/MontageHistoryCtrl.js | |
| parent | 4b39c23d4b817d05f99912df87c751566be4b0c2 (diff) | |
#775 make sure we don't play invalid eids and also move Event Montage up again where it was in the menu
Diffstat (limited to 'www/js/MontageHistoryCtrl.js')
| -rw-r--r-- | www/js/MontageHistoryCtrl.js | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
