Fixed the "Are You Sure You Want To Leave The Page Popup"

Thread: Fixed the "Are You Sure You Want To Leave The Page Popup"

  1. DEATHCAT's Avatar

    DEATHCAT said:

    Default Fixed the "Are You Sure You Want To Leave The Page Popup"

    Here is the fix

    EDIT:
    Code: [View]
    clientscript/vbulletin_textedit.js
    FIND:
    HTML Code: [View]
    {YAHOO.util.Event.addListener(window,"beforeunload",this.exit_prompt,this,true)}
    REPLACE WITH:
    HTML Code: [View]
    {YAHOO.util.Event.addListener(window,"beforeunload",this.exit_prompt,this,false) }
     
  2. Mickey's Avatar

    Mickey said:

    Default Re: Fixed the "Are You Sure You Want To Leave The Page Popup"

    thanks for this ill pass this onto the tech guy, he is out at the moment getting donuts and coffee
    [Only registered and activated users can see links. ]
     
  3. xdam's Avatar

    xdam said:

    Default Re: Fixed the "Are You Sure You Want To Leave The Page Popup"

    Thanks, change done.
     
  4. DEATHCAT's Avatar

    DEATHCAT said:

    Default Re: Fixed the "Are You Sure You Want To Leave The Page Popup"

    Quote Originally Posted by xdam View Post
    Thanks, change done.
    The file needs to be updated on users browsers change the V= number on the JS file to make it auto reload