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

client now knows redirect "auto"

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