Popup.focus problem,

Forum for questions and support relating to the 1.30.x releases only.
Locked
zerocoolboi
Posts: 3
Joined: Mon Sep 26, 2016 8:26 pm

Popup.focus problem,

Post by zerocoolboi »

Hi i am currently getting the following error

TypeError: undefined is not an object (evaluating 'popup.focus')

i have tracked this down to when it loads the home page but I'm not sure on how to fix it or where to look

This happened in 1.29 and also after upgrading to 1.30 but doesn't seem to stop anything working just filling my log up

any help would be awesome
zerocoolboi
Posts: 3
Joined: Mon Sep 26, 2016 8:26 pm

Re: Popup.focus problem,

Post by zerocoolboi »

I have managed to figure out it is skin.js that causes it but not sure what to fix in that file

any help would be awesome
User avatar
iconnor
Posts: 2900
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Popup.focus problem,

Post by iconnor »

The problem is caused by a popup being prevented by the browser. If you enable popups the error will go away.

Also I have a PR that does a more useful log message which will be in the next release.
zerocoolboi
Posts: 3
Joined: Mon Sep 26, 2016 8:26 pm

Re: Popup.focus problem,

Post by zerocoolboi »

I have sorted it
It was a pop up from index page asking to donate which safari was blocking but not telling me it had blocked it :)
I have also donated as I'm loving zoneminder and am looking forward to getting new features
Locked