Lugal-PCZ / shootpoints-web-frontend

HTML and JavaScript user interface to the ShootPoints-Web total station surveying program.
GNU General Public License v3.0
0 stars 0 forks source link

Disable Save New Grouping form if there is an unsaved shot #3

Closed Lugal-PCZ closed 1 year ago

Lugal-PCZ commented 2 years ago

The workflow is confusing if a new grouping is created while there is an unsaved shot. In this case, when the user saves the shot, it gets saved to the new grouping—so it’s best if we just disable the user’s ability to do this while there is unsaved last shot data.

Lugal-PCZ commented 1 year ago

This was already previously handled, by checking the contents of the outputBox before closing a grouping while there was an existing unsaved shot. However, changes to the formatting of the last saved shot data (in the outputBox) broke the check. This has now been corrected.