summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorAurélien Warnon <awa@odoo.com>2020-03-23 09:01:40 +0000
committerAurélien Warnon <awa@odoo.com>2020-03-27 15:03:32 +0000
commit8d09178b4292369ddee36e8ca230ab005c277826 (patch)
treed17af270fffc098ca6b3ff57ab0964c93375dc4c /addons/web/static/src/js/views/basic/basic_controller.js
parent090f9ad3338381786725e092eac15843f74c6dea (diff)
[FIX] survey: correctly handle "free text sections" in surveys and sessions
We now have a way to display "free text sections" during the survey flow. (Since 5b74f54396f6cf8986494e4632d0ea1b9940619b ) However, the behavior during survey sessions was not optimal: - Attendees could click on "submit" and it would raise an error - The section description was not displayed on the host screen - The section description was never the "current question" of the session of it was the first item of the question_and_page_ids This commit fixes all those points to have a nice session flow. While the host is explaining the section description to the attendees, they get a waiting message on their screen. In addition, we fixed the display to avoid showing pages that lack a description, and we reworked the '_get_pages_or_questions' method to have more meaningful and readable cases for every layouts. LINKS PR #48442 Task 2208574
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions