fspc / Yellow-Bike-Database

Yellow Bike Project Hours and Transaction Database for Community Bike Shops
GNU General Public License v3.0
7 stars 1 forks source link

Check that transaction has been saved or closed before allowing page reload or change #82

Open fspc opened 6 years ago

fspc commented 6 years ago

By design YBDB does not autosave edits to transactions, rather they need to be saved, closed, or deleted (if not already saved). However, if a user reloads the transaction page, or clicks to another page, and the transaction has not been saved, a transaction in process may be lost. Testing for that situation, and providing a warning dialogue would be an appropriate solution.