Describe the bug
Pressing 'esc' key to close the event modal doesn't work after the first time.
Steps to reproduce
Steps to reproduce the problematic behavior:
- Go to MoccaCalendar home page
- Create an event
- Open the event modal by clicking on the event in the calendar
- Try to press 'esc' key to close the modal
Alternative reproduction steps:
- Go to MoccaCalendar home page
- Click on an existing event to open the event modal
- Press 'esc' key to close the modal
- Click on an existing event to open the event modal
- Try to press 'esc' key to close the modal
Expected behavior
The modal is closed
Actual behavior
The modal is not closed. JS Console output: Uncaught TypeError: can't access property "removeChild", element.parentNode is null
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
- OS: linux mint
- Browser firefox
- XWiki version 15.10
- App version 2.19.1
Additional context
Add any other context about the problem here.
Describe the bug
Pressing 'esc' key to close the event modal doesn't work after the first time.
Steps to reproduce
Steps to reproduce the problematic behavior:
Alternative reproduction steps:
Expected behavior
The modal is closed
Actual behavior
The modal is not closed. JS Console output:
Uncaught TypeError: can't access property "removeChild", element.parentNode is nullScreenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
Additional context
Add any other context about the problem here.