Slang
Posts: 0
Joined: Mon Dec 10, 2012 6:53 am

Cannot open popup

Hello

I am trying to open a popup in my app, but get this error message:
Uncaught TypeError: Object [object Location] has no method '__setupDisplay'

I've shared the app (Iqamah) with support. Would appreciate if you can take a look.
Just click the "Settings" button in the footer, its supposed to open a popup.

Slang
Posts: 0
Joined: Mon Dec 10, 2012 6:53 am

Cannot open popup

Ok I think I know whats going on. I had defined a geolocation service in the popup, and the parent page also had it defined (with a different name). Strange that this should cause a problem, but when I deleted the service form the popup, the page works correctly.

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Cannot open popup

Glad it's working.

Return to “Issues”