QN with no success screen, crash when navigating after submit

Description

To reproduce:

  1. Create a questionnaire without success screen

  2. Go to the last page

  3. Press submit

  4. Press previous

Observe error message: Uncaught TypeError: Cannot read property 'hideElement' of undefined

Environment

None

Acceptance Criteria

  • Fix error

Status

Assignee

Thomas Marstrander

Reporter

Thomas Marstrander

Labels

None

Funding

None

Code reviewer

Tom Arild Jakobsen

Released

None

Time tracking

3h

Fix versions

Sprint

None

Priority

Medium
Configure