witten
/
luminotes
Archived
1
0
Fork 0
This repository has been archived on 2023-12-16. You can view files and clone it, but cannot push or open issues or pull requests.
luminotes/static/js
Dan Helfman 54744dd3a9 Fixed a rare bug in which Luminotes sometimes indicated that the current note was saved even when it wasn't.
Fortunately, this was just a visual bug, and the current note was always saved correctly.

The reproduction steps were:

 1. Open two notes, A and B.
 2. Modify note A, and then switch to note B. This causes note A to save.
 3. The save happens to take a long time (which you can force with a sleep).
 4. While the save is executing, quickly modifiy note B.
 5. When the original save completes, the "save" button changes to "saved",
    even though note B has been modified and is not saved.

The solution was simply to check whether the focused note is dirty before changing to a "saved" button.
2008-11-21 12:56:06 -08:00
..
Editor.js Fixes for IE 6. 2008-11-18 16:16:52 -08:00
Invoker.js Now displaying "saving" status text on HTTP POST and "loading" status on GET. 2008-07-29 15:37:12 -07:00
MochiKit.js Hack to MochiKit's Visual.ScrollTo() to make it work in IE. 2007-10-31 22:48:15 +00:00
MochiKit_LICENSE Renaming repository to new name: luminotes 2007-07-16 20:22:38 +00:00
Wiki.js Fixed a rare bug in which Luminotes sometimes indicated that the current note was saved even when it wasn't. 2008-11-21 12:56:06 -08:00