onbeforeunload / custom messages removed

Questions related to using nuBuilder Forte.

onbeforeunload / custom messages removed

Unread postby kev1n » Wed Oct 28, 2020 4:00 pm

Hi,

nuBuilder assigns nuHomeWarning() in onbeforeunload (index.php).

Code: Select all
function nuHomeWarning(){

   if(window.nuEDITED){
      return nuTranslate('Leave this form without saving ?')+'  '+nuTranslate('Doing this will return you to the login screen.');
   }
   return nuTranslate('Doing this will return you to the login screen.');
}


But this is not supported anymore.

Browsers support and the removal of the custom message:

Chrome removed support for the custom message in ver 51 min
Opera removed support for the custom message in ver 38 min
Firefox removed support for the custom message in ver 44.0 min
Safari removed support for the custom message in ver 9.1 min


Chrome: Remove custom messages in onbeforeunload dialogs
https://developers.google.com/web/updat ... ad_dialogs
kev1n
nuBuilder Team
 
Posts: 2059
Joined: Mon Oct 15, 2018 2:13 am
nuBuilder Version: 4.5

Return to General

Who is online

Users browsing this forum: No registered users and 14 guests

cron