HomePhabricator

Don't assume a POSTed survey shows the confirmation page

Authored by SBisson on Nov 14 2018, 1:46 PM.

Description

Don't assume a POSTed survey shows the confirmation page

It is rare but possible to submit the survey form and get the survey
back (with onSubmit() never called). The only case I know is when the
form stays open for too long and the token needs to be reviewed.

This change ensures that the page title is set to the confirmation
message only when we are sure to show the confirmation page.

Bug: T206371
Change-Id: Ic46a826f2cec14a713c586dc75e11926f9eb4665
(cherry picked from commit 18a345aabe2ababc2204ca93601e49b9e1a2af9d)

Details

Committed
SBissonNov 15 2018, 8:57 PM
Parents
rEGRE56b9b77f3e75: Merge "Add phan-taint-check-plugin"
Branches
Unknown
Tags
Unknown
References
refs/changes/44/473844/1
ChangeId
Ic46a826f2cec14a713c586dc75e11926f9eb4665