conzty01/RA_Scheduler

Run Scheduler Modal Reappears After Closing

Closed this issue · 0 comments

Describe the bug
When attempting to run the scheduler from the Run Scheduler modal in the editSched page, if the user clicks "Run Scheduler" and closes the modal before the server returns a schedule result, then once the server returns a result, the Run Scheduler modal will reappear.

To Reproduce
Steps to reproduce the behavior:

  1. Go to the /editSched page.
  2. Click on the "Run Scheduler" button at the top right of the calendar.
  3. Once the Modal appears, click the "Run Scheduler" button at the bottom right of the modal.
  4. Quickly click either the "Close" button in the modal or click outside of the modal to close the modal.
  5. Observe that when a response comes from the server, the modal is again displayed.

Expected behavior
The modal should not reopen if the user has clicked away from it.

Screenshots
NA

Desktop (please complete the following information):

  • OS: Windows
  • Browser: Chrome
  • Version: Current Production Version