CityofToronto / bdit_flashcrow

Working repository for MOVE, a project to modernize transportation data systems at the City of Toronto.
MIT License
9 stars 2 forks source link

MOVE-1230: Add to Existing Project broke 😅 #1269

Closed imadsyed333 closed 3 months ago

imadsyed333 commented 3 months ago

Issue Addressed

This PR closes MOVE-1230.

Description

Flawed logic was causing the project mode dialog save button to fail when attempting to add study requests to existing projects. Corrected code logic to only blur the email input field if it is present in the dialog / form.

Tests

Tested in MOVE local v1.12 in Firefox.