On Tue, 2003-12-16 at 18:43, Peter Moulder wrote:
On Tue, Dec 16, 2003 at 06:36:23PM +0000, bulia byak wrote:
So far it saves when modified and does not otherwise, quite reliably. In this case, it's better to err on the side of caution, so if it over-saves, I won't mind; only if it fails to save a changed document we have a problem.
If the `Save' menu item isn't greyed out, then it should attempt to save, or at least read in the file and check that no save is necessary. (This may also alert us to problems with the modifiedness tag.)
This is planned, but also requires SPActions do be de-globalized.
Theoretically, SPButtons should update their active/disabled/toggled states based on their actions, but since all SPButtons for a particular verb currently share a common SPAction, I had to break that temporarily for things to behave sanely.
Long-term fix is as I mentioned earlier to Bulia -- make SPActions per-SPView (permitting per-document state).
-mental