Prevent dialog from closing when using


Is there a way to prevent a JIRA dialog, that uses chrome, from closing when you have attached an event to the submit button using method?

The reason why i am asking this is because the submit function has a complex behavior that includes promises/ajax calls and since i cant prevent the dialog from closing the my ajax call will be canceled because the function already returned and it doesn’t even work for promises since it doesn’t wait for them to end.

Thank you,
André Rodrigues

1 Like

See my answer to “A problem with migration from DialogButton.bind() method”. Trigger warning: it’s bad news, I’m afraid.


Thanks for the answer. In the end i ended doing the same as you, set chrome to false and created my own buttons.
Sadly i think its the only way to do it at least at the moment.

1 Like