diff options
| author | Pliable Pixels <pliablepixels@gmail.com> | 2019-05-16 20:14:14 -0400 |
|---|---|---|
| committer | Pliable Pixels <pliablepixels@gmail.com> | 2019-05-16 20:14:14 -0400 |
| commit | 41e8490439876ff4a33e4b3c5f4695b750c283d2 (patch) | |
| tree | 8db9776665c07ee30ffd83c136c104e24707872a /www | |
| parent | f2f6040847b53222e4ca18334fc0978853c4b345 (diff) | |
only show event notes for objects if you selected objects in event list
Diffstat (limited to 'www')
| -rw-r--r-- | www/js/MontageCtrl.js | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/www/js/MontageCtrl.js b/www/js/MontageCtrl.js index 53bcb660..497fd041 100644 --- a/www/js/MontageCtrl.js +++ b/www/js/MontageCtrl.js @@ -656,7 +656,16 @@ angular.module('zmApp.controllers') if (monitor.Monitor.lastEvent && showMontageSidebars) { - monitor.Monitor.showSidebar = true; + + if (ld.objectDetectionFilter) { + if (monitor.Monitor.lastEvent.object) { + monitor.Monitor.showSidebar = true; + } + } + else { + monitor.Monitor.showSidebar = true; + } + } }, |
