Control buttons disappeared

Current Development version likely to have breaking changes
Post Reply
Anna.N
Posts: 31
Joined: Sun Feb 25, 2024 10:55 am

Control buttons disappeared

Post 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
IgorA100
Posts: 141
Joined: Sat Feb 03, 2024 11:55 am

Re: Control buttons disappeared

Post 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.
Anna.N
Posts: 31
Joined: Sun Feb 25, 2024 10:55 am

Re: Control buttons disappeared

Post 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..
User avatar
iconnor
Posts: 3119
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Control buttons disappeared

Post by iconnor »

Should be fixed in latest.
Anna.N
Posts: 31
Joined: Sun Feb 25, 2024 10:55 am

Re: Control buttons disappeared

Post by Anna.N »

upgraded to .100 - buttons still missing
IgorA100
Posts: 141
Joined: Sat Feb 03, 2024 11:55 am

Re: Control buttons disappeared

Post 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?
Anna.N
Posts: 31
Joined: Sun Feb 25, 2024 10:55 am

Re: Control buttons disappeared

Post by Anna.N »

Image Buttons with Version .70


Image No Buttons with Version .100
IgorA100
Posts: 141
Joined: Sat Feb 03, 2024 11:55 am

Re: Control buttons disappeared

Post by IgorA100 »

1_cr1_cr.jpg
1_cr1_cr.jpg (174.97 KiB) Viewed 1380 times
Anna.N
Posts: 31
Joined: Sun Feb 25, 2024 10:55 am

Re: Control buttons disappeared

Post 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?
IgorA100
Posts: 141
Joined: Sat Feb 03, 2024 11:55 am

Re: Control buttons disappeared

Post 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.
Anna.N
Posts: 31
Joined: Sun Feb 25, 2024 10:55 am

Re: Control buttons disappeared

Post 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

IgorA100
Posts: 141
Joined: Sat Feb 03, 2024 11:55 am

Re: Control buttons disappeared

Post 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.
Anna.N
Posts: 31
Joined: Sun Feb 25, 2024 10:55 am

Re: Control buttons disappeared

Post by Anna.N »

Problem seems to be solved with .118
Thanks
Post Reply