Thursday, 10 May 2007
Bug: Reset button in monthly log did not clear “unsaved changes” count
The {\tt countChange()} and {\tt leaveDocument()} functions in the
JavaScript code which warn a user about to navigate away from a
monthly log page with unsaved changes continued to issue the warning
if the user had reversed all the changes with the ``Reset'' button.
I added an ``{\tt onclick}'' event handler to the reset button which
resets the {\tt unsavedChanges} count to zero.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment