Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding the lost "All Events" button from Live View #3834

Merged
merged 2 commits into from
Feb 21, 2024

Conversation

IgorA100
Copy link
Contributor

Perhaps I added the button in a not very good place, but I didn’t find a more suitable one :(
P1050445

When you press the button, we go to view all events.
Ability to jump to viewing all events from live viewing.
@@ -942,6 +942,10 @@
}
}

function watchAllEvents() {
window.location.replace(document.getElementById('allEventsBtn').getAttribute('data-url'));

Check warning

Code scanning / CodeQL

DOM text reinterpreted as HTML Medium

DOM text
is reinterpreted as HTML without escaping meta-characters.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure there's a need for additional protections here.

@connortechnology connortechnology merged commit 3151b99 into ZoneMinder:master Feb 21, 2024
15 of 18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants