Profound "Confirm Navigation prompt window"

Use this board to ask questions or have discussions with other Rich Displays users.
Post Reply
nascar88
Profound User
Posts: 42
Joined: Wed Aug 04, 2010 5:12 pm
First Name: Bob
Last Name: Steach
Company Name: APHA
Contact:

Profound "Confirm Navigation prompt window"

Post by nascar88 »

Is there a way NOT TO SHOW this Prompt window when you refresh your browser. The two options you have is "Leave this Page" or Stay on this page".
User avatar
Brian
Profound Logic Staff Member
Posts: 286
Joined: Thu Apr 14, 2011 10:23 am
First Name: Brian
Last Name: May
Company Name: Profound Logic Software
Contact:

Re: Profound "Confirm Navigation prompt window"

Post by Brian »

My first question is why are you refreshing the browser?

There is a very specific reason for that confirmation. If you refresh the screen, it ends your job on the system and starts another. Surely this is not what you want if you are in the middle of a program. So I wonder if this is what you really want.
nascar88
Profound User
Posts: 42
Joined: Wed Aug 04, 2010 5:12 pm
First Name: Bob
Last Name: Steach
Company Name: APHA
Contact:

Re: Profound "Confirm Navigation prompt window"

Post by nascar88 »

What we are doing is pushing data to our main website using an iframe. The profound program is run inside this iframe and is an inquiry program only. I would like to see an option on the record format that would either tell profound to end the job without prompting for this message or to prompt for this message.
User avatar
David
Profound Logic Staff Member
Posts: 690
Joined: Fri Jan 04, 2008 12:11 pm
First Name: David
Last Name: Russo
Company Name: Profound Logic Software
Contact:

Re: Profound "Confirm Navigation prompt window"

Post by David »

There is a way to tell Profound UI not to show that confirmation when the PUI page is being unloaded.

In JavaScript, you can set this flag:

Code: Select all


pui.skipConfirm = true;

This can be done using the "onload" event of a record format, or through an included JavaScript file that runs the code inline.
nascar88
Profound User
Posts: 42
Joined: Wed Aug 04, 2010 5:12 pm
First Name: Bob
Last Name: Steach
Company Name: APHA
Contact:

Re: Profound "Confirm Navigation prompt window"

Post by nascar88 »

Thanks a lot -- that works great!
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest