Hi,
Our customer use CloseQuery to show their custom message as follows:
Evtroutine Handling(#sys_web.CloseQuery) Querystring(#QueryString)
#QueryString := "System will be terminated. Unsaved data will be lost!"
Endroutine
It works as expected on IE, but on Chrome, it shows the following default message, not their original message.
"Changes you made may not be saved"
It seems Chrome change their policy and remove custom messages in onbeforeload dialogs.
https://developers.google.com/web/updat ... ions?hl=en
Is this because of this Chrome policy?
Is there any way to show their original messages on Chrome by using CloseQuery method on VLWeb?
Best Regards,
Megumi Sawada
Showing custom messages using Close Query
-
MegumiSawada
- Posts: 80
- Joined: Tue Mar 22, 2016 1:45 pm
- Location: Tokyo, Japan
- Stewart Marshall
- Posts: 417
- Joined: Thu Nov 05, 2015 5:25 pm
Re: Showing custom messages using Close Query
Hi Megumi
Visual LANSA is entirely dependent on the features made available by the browser in which it's running.
As Chrome no longer shows the QueryString as specified, there is nothing we can do.
Regards
Visual LANSA is entirely dependent on the features made available by the browser in which it's running.
As Chrome no longer shows the QueryString as specified, there is nothing we can do.
Regards
-
MegumiSawada
- Posts: 80
- Joined: Tue Mar 22, 2016 1:45 pm
- Location: Tokyo, Japan
Re: Showing custom messages using Close Query
HI Stewart,
Thank you! I'll tell the customer so.
Best Regards,
Megumi
Thank you! I'll tell the customer so.
Best Regards,
Megumi
- Stewart Marshall
- Posts: 417
- Joined: Thu Nov 05, 2015 5:25 pm
Re: Showing custom messages using Close Query
You can also point them at the updated online help (http://docs.lansa.com/14/en/lansa016/PR ... EQUERY.htm)
Regards
Regards