jQuery UI Widgets Forums Dialogs and Notifications Window Window Close Event

This topic contains 2 replies, has 2 voices, and was last updated by  Salim Hamza 9 years, 1 month ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • Window Close Event #81849

    Salim Hamza
    Participant

    Howdy,

    I am using :
    $("#squadDatesWindow").bind('close', function (event){
    to do stuff when I close a window

    When a user clicks outside the window to close it instead of clicking the X mark
    that event doesn’t fire.

    Is there an event that covers that case or is there a way to block closing a window by clicking on the main page

    Thank for your help
    -Salim

    Window Close Event #81853

    ivailo
    Participant

    Hi Salim,

    We can’t see such a behavior.
    You can try this demo with close button outside of the window.

    Probably you are using older version.
    Please try to update to the latest version(4.0.0).

    Best Regards,
    Ivailo Ivanov

    jQWidgets Team
    http://www.jqwidgets.com

    Window Close Event #81869

    Salim Hamza
    Participant

    Howdy,

    Oh well in fact I looked it up this morning and realized it had nothing to do with clicking somewhere else.
    I was clicking on a cell that had the intended event to reopen the same window with different content.

    Totally my bad.

    Thanks, your response was still helpful
    -Salim

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.