Commit af918248 authored by bbaer's avatar bbaer
Browse files

higher prioritization of saves

parent 8169f067
......@@ -955,6 +955,13 @@ var QfqNS = QfqNS || {};
alert.show();
}
// Skip other checks if external Save is called
if (this.goToAfterSave) {
console.log("Called goToAfterSave = " + this.goToAfterSave);
window.location = this.goToAfterSave;
return;
}
// do we have to update the HTML Form?
if (data['form-update']) {
this.applyFormConfiguration(data['form-update']);
......@@ -973,12 +980,6 @@ var QfqNS = QfqNS || {};
return;
}
if (this.goToAfterSave) {
console.log("Called goToAfterSave = " + this.goToAfterSave);
window.location = this.goToAfterSave;
return;
}
break;
case 'close':
if (!data.redirect || data.redirect === "no") {
......
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