Fix save button functionality
Closed this issue · 0 comments
mayhewsw commented
Currently, it works like this: if there are no changes to a document, then you can't save it, and it marks it as "saved" even though it's not actually stored in the annotations directory.
There should be 3 states:
- in the annotated directory, unchanged (should say "saved :)")
- not in the annotated directory, unchanged (should say "save")
- changed (should say "save")
One complication here is that the code will automatically save documents when you look at them. If you look at a document, make no changes, and click through to the next one, that will save the doc, even though you didn't intend it to. I'm not sure what to do about this!