Commit 82ca94f7 authored by bbaer's avatar bbaer
Browse files

client now knows redirect "auto"

parent df51be1a
......@@ -727,7 +727,7 @@ var QfqNS = QfqNS || {};
this.setButtonEnabled(this.getNewButton(), false);
this.destroyFormAndSetText("Record has been deleted!");
if (!data.redirect || data.redirect === "client") {
if (!data.redirect || data.redirect === "auto") {
this.goBack();
return;
}
......@@ -999,7 +999,7 @@ var QfqNS = QfqNS || {};
return;
}
if (data.redirect === "client" || data.redirect === "close") {
if (data.redirect === "auto" || data.redirect === "close") {
this.goBack();
return;
}
......@@ -1022,7 +1022,7 @@ var QfqNS = QfqNS || {};
return;
default:
if (data.redirect === "client") {
if (data.redirect === "auto") {
this.goBack();
return;
}
......
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