locked
window close problem RRS feed

  • Question

  •  

    Hi

       I have a Problem with  CRM default window close javascript function.  When it i close the CRM Form it is displaying one screen as

     

    ---------------------------
    Microsoft Internet Explorer
    ---------------------------
    Are you sure you want to navigate away from this page?


    --------------------------------------------------------------------------

    If you click OK, your changes will be lost.

    --------------------------------------------------------------------------


    Press OK to continue, or Cancel to stay on the current page.
    ---------------------------
    OK   Cancel  
    ---------------------------

    I dont want to display this message when the my form is closed  for Account entity only not for all the entities in crm

    Kindly advice me to solve this problem

     

    Thanks

    Shaik

     

    Friday, November 23, 2007 11:25 AM

Answers

  • try adding the following line of code in the form load event:

     

    crmForm.detachCloseAlert();

     

    Friday, November 23, 2007 1:49 PM
    Moderator