none → 1.12.2
new → open
This is because we supply a
.form() method on jQuery instances to mimc the native
form property (in order to support IE 8). We use the
$(html, props) method to pass the options through, and if there's a method that matches the name of the property, it gets invoked instead of setting the attribute.
.form() method is not intended to be public, we should rename it to avoid issues like this.
As far as requiring
click, yes, that's expected. Buttons in a dialog are expected to have an explicitly defined behavior. In this case, I would suggest using
click and having it submit the form you care about, especially since all dialog buttons are explicitly set as regular buttons, not submit buttons.