Pass parameter to close page about current participant is it guest.

This commit is contained in:
damencho 2016-12-30 10:58:21 -06:00
parent 593de63d49
commit 282defc54c
1 changed files with 4 additions and 2 deletions

View File

@ -196,9 +196,11 @@ function maybeRedirectToWelcomePage(options) {
// if close page is enabled redirect to it, without further action
if (config.enableClosePage) {
if (options.feedbackSubmitted)
window.location.pathname = "close.html";
window.location.pathname = "close.html?guest="
+ APP.tokenData.isGuest;
else
window.location.pathname = "close2.html";
window.location.pathname = "close2.html?guest="
+ APP.tokenData.isGuest;
return;
}