GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
But it doesn't cause the dialog to save.
That's not working like that since jQuery can't trigger events that itself didn't attach.
You'll need to write your own triggerEvent function (or you just copy the one from QUnit which should work perfectly in all browsers: https://github.com/jquery/qunit/blob/master/qunit/qunit.js#L634).
There's currently no better way to save and close the dialog. Sorry for that.
Didn't know that. Thanks for the response!