Profound "Confirm Navigation prompt window"
-
- 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"
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".
- 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"
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.
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.
-
- 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"
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.
- 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"
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:
This can be done using the "onload" event of a record format, or through an included JavaScript file that runs the code inline.
In JavaScript, you can set this flag:
Code: Select all
pui.skipConfirm = true;
-
- 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"
Thanks a lot -- that works great!
Who is online
Users browsing this forum: No registered users and 1 guest