Page 1 of 1

Control buttons disappeared

Posted: Sat Jun 08, 2024 8:47 am
by Anna.N
With the latest update (.95) Camara control buttons (pan/tilt/preset) disappeared in the live view.
The only error I found in the log:

Code: Select all

TypeError: document.getElementById(...) is null	zm/cache/skins_classic_views_js_watch-base-1717790076.js

Re: Control buttons disappeared

Posted: Sat Jun 08, 2024 9:46 pm
by IgorA100
Anna.N wrote: Sat Jun 08, 2024 8:47 am The only error I found in the log:

Code: Select all

TypeError: document.getElementById(...) is null	zm/cache/skins_classic_views_js_watch-base-1717790076.js
Copy and paste the entire line with the error here, the last column indicates the line where the error occurred.

Re: Control buttons disappeared

Posted: Sun Jun 09, 2024 9:47 am
by Anna.N
Sorry, I don't have a copy of the entire line.
However, I rolled back to version .69 and the bottons are back again..

Re: Control buttons disappeared

Posted: Sun Jun 09, 2024 2:28 pm
by iconnor
Should be fixed in latest.

Re: Control buttons disappeared

Posted: Mon Jun 10, 2024 9:46 pm
by Anna.N
upgraded to .100 - buttons still missing

Re: Control buttons disappeared

Posted: Tue Jun 11, 2024 7:00 am
by IgorA100
Anna.N wrote: Mon Jun 10, 2024 9:46 pm upgraded to .100 - buttons still missing
Please screenshot.
Is there a missing button to show/hide the PTZ control box or are there any specific control buttons missing from the PTZ control box?

Re: Control buttons disappeared

Posted: Tue Jun 11, 2024 8:14 am
by Anna.N
Image Buttons with Version .70


Image No Buttons with Version .100

Re: Control buttons disappeared

Posted: Tue Jun 11, 2024 8:19 am
by IgorA100
1_cr1_cr.jpg
1_cr1_cr.jpg (174.97 KiB) Viewed 1385 times

Re: Control buttons disappeared

Posted: Tue Jun 11, 2024 9:40 am
by Anna.N
Thanks.
Shame on me. :oops:
Never realized that button.

BTW: How come that the buttons disappeared with the update and reappeared after rollback?

Re: Control buttons disappeared

Posted: Tue Jun 11, 2024 11:18 am
by IgorA100
Anna.N wrote: Tue Jun 11, 2024 9:40 am BTW: How come that the buttons disappeared with the update and reappeared after rollback?
In one of the updates, the panel visibility control button did not appear when the page was initially opened, but appeared only when navigating between cameras (turned on by the button to the left of the PTZ panel visibility control button) or when cyclically viewing cameras. This happened due to a significant change in the Watch page code when introducing navigation between cameras without reloading the page.
Isaac has fixed this issue.

Re: Control buttons disappeared

Posted: Tue Jun 11, 2024 3:29 pm
by Anna.N
Bottons are visible now, but don't work
Error:

Code: Select all

11-06-2024 17:26:19	web_js	530144	ERR	TypeError: obj.getAttribute(...) is null	zm/cache/skins_classic_views_js_watch-base-1718061098.js	626
11-06-2024 17:25:04	web_js	517914	ERR	TypeError: null is not an object (evaluating 'obj.getAttribute('id').indexOf')	zm/cache/skins_classic_views_js_watch-base-1718061098.js	626


Re: Control buttons disappeared

Posted: Tue Jun 11, 2024 5:34 pm
by IgorA100
Anna.N wrote: Tue Jun 11, 2024 3:29 pm Bottons are visible now, but don't work
I'm sorry.
I hope my PR https://github.com/ZoneMinder/zoneminder/pull/4075 will fix the problem.

Re: Control buttons disappeared

Posted: Wed Jun 12, 2024 6:24 am
by Anna.N
Problem seems to be solved with .118
Thanks