0

I have a VF page that is running javascript and should throw a before unload alert message if the user tries to navigate before saving. This works in all browsers except on the SF1 app which nothing is shown.

Is beforeUnload just not supported in the SF1 app?

2
  • If I remember right, you can't do anything that's modal, like confirming navigation, alert boxes, etc. Unfortunately, I don't have time to experiment with it right now.
    – sfdcfox
    May 17 '18 at 19:19
  • I've gotten alert boxes to work (that's the only way I know how to debug on the app) but can't figure out beforeunload May 17 '18 at 21:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.