Pop Up Blocker

Forum to discuss the Web client version of Servoy.

Pop Up Blocker

Postby Yummy » Fri Jan 13, 2012 5:36 pm

I have a web client solution (v6.04 Developer) which works fine with no pop up blockers (web browse removed localhost as an exception) however when I upload it to the application server (v 6.03) and run from there the pop up blocker kicks in.

The process is as follows the first form of the solution issues :

Code: Select all
   var Win = application.createWindow("Provider", JSWindow.MODAL_DIALOG);
   Win.title = 'Provider'                     
   forms.frm_provider.controller.show(Win);   


then in the dialog that opens (all good at this point) and in the form frm_provider that was just opened it runs the following. It is here that frm_main is not opened as the pop up blocker kicks in :

Code: Select all
      var Win =application.createWindow("IcarusMain",JSWindow.MODAL_DIALOG)
      Win.title = 'Icarus Main'      
      Win.show(forms.frm_main)


Any ideas as to why and how I resolve it ?
Yummy
 
Posts: 74
Joined: Sat Oct 10, 2009 11:17 pm

Re: Pop Up Blocker

Postby jcompagner » Wed Jan 18, 2012 6:49 pm

so modal dialogs which are just divs/iframes are blocked by a popup blocker?
thats weird i have never seen that.

are you use that you don't do
application.createWindow("Provider", JSWindow.WINDOW);
?
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8833
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet


Return to Servoy Web Client

Who is online

Users browsing this forum: No registered users and 8 guests