PDA

View Full Version : 'This page is asking you to confirm that you want to leave" - how do I stop this?


SpottySocks
02-13-2013, 03:37 PM
Hi guys,

Yesterday my forum started acting weird. Whenever someone goes to use Quick Reply, they click 'Post Reply' and presented with this window:

https://vborg.vbsupport.ru/external/2013/02/27.png

If they click 'Leave Page', it posts the reply to the thread without a problem. If they click 'Stay on Page', it doesn't get posted.

Can anyone tell me why this is happening or how to stop it?
Thanks.

Digital Jedi
02-13-2013, 04:02 PM
Should only come up if the page they're on is going to be refreshed/reloaded, which shouldn't occur during Quick Reply. Trying creating a new style with no parent and see if the same behavior occurs on the default style.

kylek
02-22-2013, 10:31 PM
SpottySocks, did you get this figured out or is it still happening/ Got the same thing and its doing it in custom style and default style.

Digital Jedi
02-23-2013, 05:16 AM
What kind of mods do you have installed that would affect the Quick Reply or inline editing area?

kylek
02-23-2013, 07:18 AM
I had one installed - Marco's Advanced editor/quick reply - that I thought may have been the reason the popups started but it was installed months ago. Completely uninstalled and removed it but this did not stop the leave page messages.

I found a temp solution to stop the leave page message in jira by doing this:

edit clientscript/vbulletin_textedit.js file
change it this:
{YAHOO.util.Event.addListener(window,"beforeunload",this.exit_prompt,this,true)} to:
{YAHOO.util.Event.addListener(window,"beforeunload",this.exit_prompt,this,false) }