mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Support other as answer, without further details.
This commit is contained in:
parent
bfe3e160c9
commit
24614effc4
1 changed files with 5 additions and 0 deletions
|
@ -23,6 +23,11 @@ define [
|
||||||
formData.append "Field#{ reasonOtherFieldAPIId }", feedbackOtherVal
|
formData.append "Field#{ reasonOtherFieldAPIId }", feedbackOtherVal
|
||||||
formData.append "idstamp", idStampVal
|
formData.append "idstamp", idStampVal
|
||||||
|
|
||||||
|
# Allow user to specify "other" without any extra details; an empty string
|
||||||
|
# would trigger an error submitting.
|
||||||
|
if feedbackOpt == feedbackOpts.OTHER and feedbackOtherVal == ""
|
||||||
|
formData.set "Field#{ reasonOtherFieldAPIId }", "#{ feedbackOpts.OTHER } empty"
|
||||||
|
|
||||||
req =
|
req =
|
||||||
method: 'POST'
|
method: 'POST'
|
||||||
url: submitEndpoint
|
url: submitEndpoint
|
||||||
|
|
Loading…
Reference in a new issue