Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
235
Event on dialog close is not firing
posted

Hi,

I've registered a handler for when the dialog state is changing. However I don't see it being called:

var dialog = $("#dialog");

dialog.on("igdialogstatechanging", function (event, ui) {
    console.debug("Event igdialogstatechanging");
    if (ui.action == "close") {
        // do something
    }
});

Can you please advise?

Thanks,

Jose

Parents
  • 10685
    Verified Answer
    Offline posted

    Hello Jose, 

    I can’t see anything wrong with the implementation you are using, as this handler is working ok. I have created jsfiddle code sample and you can see it working at http://jsfiddle.net/cabrftxw/1/ . Please take a look at it and compare it with your approach, so you can update it if necessary.


Reply Children
No Data