Commit 9ac49b38 authored by bbaer's avatar bbaer
Browse files

fixes #9735

mark changed couldn't be triggered without inititiator
parent bc8ddbb0
Pipeline #2910 passed with stages
in 3 minutes and 26 seconds
......@@ -87,8 +87,10 @@ var QfqNS = QfqNS || {};
};
n.Form.prototype.markChanged = function (initiator) {
if(initiator.classList.contains("qfq-skip-dirty")) {
return;
if(!!initiator) {
if(initiator.classList.contains("qfq-skip-dirty")) {
return;
}
}
this.setFormChangedState();
this.eventEmitter.emitEvent('form.changed', n.EventEmitter.makePayload(this, null));
......
Markdown is supported
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