Commit 4fcf2fd4 authored by Carsten  Rose's avatar Carsten Rose
Browse files

Merge remote-tracking branch 'origin/raos_work' into crose_work

parents 100947bd b9ecf9e8
...@@ -23,9 +23,9 @@ var QfqNS = QfqNS || {}; ...@@ -23,9 +23,9 @@ var QfqNS = QfqNS || {};
this.$form = $(document.forms[this.formId]); this.$form = $(document.forms[this.formId]);
this.$form.on("change", this.changeHandler.bind(this)); this.$form.on("change", this.changeHandler.bind(this));
// On text input elements, we specifically bind this events, in order to update the formChanged property // On <input> elements, we specifically bind this events, in order to update the formChanged property
// immediately, not only after loosing focus. // immediately, not only after loosing focus. Same goes for <textarea>
this.$form.find("input[type=text], textarea").on("input paste", this.changeHandler.bind(this)); this.$form.find("input, textarea").on("input paste", this.changeHandler.bind(this));
}; };
n.Form.prototype.on = n.EventEmitter.onMixin; 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