Page 1 of 1

Cannot open popup

Posted: Sat Jun 01, 2013 7:58 pm
by Slang

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.


Cannot open popup

Posted: Sat Jun 01, 2013 9:40 pm
by Slang

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.


Cannot open popup

Posted: Sat Jun 01, 2013 10:21 pm
by maxkatz

Glad it's working.