phpreport icon indicating copy to clipboard operation
phpreport copied to clipboard

Exit confirmation in holiday management screen

Open jaragunde opened this issue 4 years ago • 0 comments

It would be good to ask for user confirmation when leaving the holiday management screen, in case there are unsaved changes. It's specially interesting because there is no visual feedback on there being unsaved changes or not.

The tasks screen has the same feature and it can be reused in this case, we'd need to include this file and implement a function called isUnsaved():

https://github.com/Igalia/phpreport/blob/main/web/js/include/closeConfirmation.js

jaragunde avatar Oct 23 '21 07:10 jaragunde