charludo / ycms

Apache License 2.0
0 stars 0 forks source link

Fix modal not opening #111

Open ballerkind opened 8 months ago

ballerkind commented 8 months ago

Describe the Bug

When closing a modal by clicking outside of the modal, no modals will be created anymore.

Steps to Reproduce

  1. Start to assign an unassigned patient to a room
  2. Close the modal asking "Are you sure you want to assign the patient to Room x?" by clicking somewhere outside of the modal
  3. The modal will close
  4. Try to select a room again
  5. No modal opens -> error

Expected Behavior

I can open and close as many modals as I like.

Actual Behavior

No modal is shown after step 3. This prevents me from assigning a patient to a room.

Additional Information

Closing a modal using the "No" button or the "X" works perfectly.