wampforum
07-18-2011, 04:15 PM
Hi,
I am trying to remove the annoying 'do you want to leave this page' prompt you seem to get sometimes when navigating away from a reply before posting it. It seems its related to the autosave feature according to this:
http://tracker.vbulletin.com/browse/VBIV-12548?page=com.atlassian.jira.plugin.system.issuet abpanels%3Aall-tabpanel
it staes a fix by doing the following:
To disable this feature edit the clientscript/vbulletin_textedit.js file.
Find the following and comment out as shown:
//YAHOO.util.Event.addListener(window, "beforeunload", this.exit_prompt, this, true);
I have found that piece of code but I have no idea what to do now!!
should I be using the <-- /--> to comment it out?
thanks
I am trying to remove the annoying 'do you want to leave this page' prompt you seem to get sometimes when navigating away from a reply before posting it. It seems its related to the autosave feature according to this:
http://tracker.vbulletin.com/browse/VBIV-12548?page=com.atlassian.jira.plugin.system.issuet abpanels%3Aall-tabpanel
it staes a fix by doing the following:
To disable this feature edit the clientscript/vbulletin_textedit.js file.
Find the following and comment out as shown:
//YAHOO.util.Event.addListener(window, "beforeunload", this.exit_prompt, this, true);
I have found that piece of code but I have no idea what to do now!!
should I be using the <-- /--> to comment it out?
thanks