webDiplomacy
webDiplomacy copied to clipboard
Inappropriate trigger for the unsaved orders message.
If you change an order and then change it back to what it originally was, then the order stays in the "unsaved" state even after hitting save. This has undesired interactions with the fix for #43.
To reproduce:
- Open some orders, change a "hold" to a "move"
- Change the move back to the hold.
- Save orders
- Try to navigate away from the page
Desired behaviour: No message Observed behaviour: The "you have unsaved orders" message appears.