Commit e16dd40c authored by Rafael Ostertag's avatar Rafael Ostertag
Browse files

Disabled standard submit on form.

parent 876d5a66
......@@ -26,6 +26,10 @@ var QfqNS = QfqNS || {};
// On <input> elements, we specifically bind this events, in order to update the formChanged property
// immediately, not only after loosing focus. Same goes for <textarea>
this.$form.find("input, textarea").on("input paste", this.changeHandler.bind(this));
this.$form.on('submit', function (event) {
n.Form.prototype.on = n.EventEmitter.onMixin;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment