Re: Close messenger once the ChatSystem has been stopped

  •  06-30-2009, 6:29 PM

    Re: Close messenger once the ChatSystem has been stopped

    Maybe one alternative is using a flag, currently I found one that is used to display the alert when one user try to close the messenger page (messenger.aspx) and check if the messenger is connected:

     

    window.onbeforeunload = function()

                {

                    if (IsConnected())

                    {

                        return "[[UI_AreYouSureQuitMessenger]]";

                    }

                }

     

    I don’t know if exist some other function between all those JavaScript files used for the messenger that can do the trick of catch the status (I already try to use the IsConnected function but not work unless the page make a postback).

     

    Please let me know what you think about this alternative.

    Regards
     
View Complete Thread