Skip the "are you sure you want to leave this page" message

Use this board to ask questions or have discussions with other Rich Displays users.
Post Reply
dieter
Experienced User
Posts: 122
Joined: Tue May 22, 2012 6:45 am
First Name: Dieter
Last Name: Schröder
Company Name: Ecclesia Holding GmbH
State / Province: Outside Canada/USA
Country: Germany
Contact:

Skip the "are you sure you want to leave this page" message

Post by dieter »

Hello,

we have the following problem: We have an application which starts a new Genie session. Via a flexible start program we can directly call the desired application (a Profound UI application). When the user presses an end button we want to close the genie session. Therefore we have a macro in the Genie sesssion, which runs the <close /> macro at the end. This works fine. Our application makes a signoff and the <close /> macro ends the Genie session. But unfortunately there is always a message "are you sure you want to leave this page". How can we suppress this message? I don't think that we can use the pui.link api, because we start the new Genie session not from a existing Genie Session but we start the new session by calling "chrome.exe" from a client access green screen (via a self written tool).

Can you help me to suppress the message?

Thanks,
Dieter
dieter
Experienced User
Posts: 122
Joined: Tue May 22, 2012 6:45 am
First Name: Dieter
Last Name: Schröder
Company Name: Ecclesia Holding GmbH
State / Province: Outside Canada/USA
Country: Germany
Contact:

Re: Skip the "are you sure you want to leave this page" message

Post by dieter »

I just found the answer: When i set "pui.skipConfirm = true" in the onload event of the screen, the confirm message does not appear any longer. That's exactly what we needed.

Dieter
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests