Commit d154c283 authored by Rafael Ostertag's avatar Rafael Ostertag
Browse files

QfqForm.js: updated "close" to go to previous page upon 'client' redirect.

parent dc53c301
......@@ -437,7 +437,12 @@ var QfqNS = QfqNS || {};
}
break;
case 'close':
if (!data.redirect || data.redirect === "no" || data.redirect === "client") {
if (!data.redirect || data.redirect === "no") {
return;
}
if (data.redirect === "client") {
window.history.back();
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