Page 1 of 1

TIWCGJQFileUpload is causing "are you sure you want to leave

PostPosted: 02 May 2019 14:43
by AngryDev
Hello,

Im using TIWCGJQFileUpload to upload files to our site. When The user selects more than one file at a time the "are you sure you want to leave this page" dialog box appears. Is there a way to get rid of that?

I tried adding:
WebApplication->CallBackResponse->AddJavaScriptToExecute("window.onbeforeunload = null;");
to the constructor of the page but it didn't help.

Thanks

Re: TIWCGJQFileUpload is causing "are you sure you want to l

PostPosted: 03 May 2019 09:03
by Alexander Bulei
Hi AngryDev,

On which browser?

Best Regards.

Re: TIWCGJQFileUpload is causing "are you sure you want to l

PostPosted: 03 May 2019 14:25
by AngryDev
All of them. They give slightly differing messages. But they all do it.