witten
/
luminotes
Archived
1
0
Fork 0

Bug fix: flag a note as "show on startup". hide it. click the note's title on

the left under "notes". the "show on startup" checkbox for that note is not
checked, even though the note is a startup note.
This commit is contained in:
Dan Helfman 2008-05-06 20:27:10 +00:00
parent 2217f64f2f
commit 668c782781
1 changed files with 6 additions and 0 deletions

View File

@ -1263,6 +1263,12 @@ Wiki.prototype.save_editor = function ( editor, fire_and_forget, callback, synch
self.update_editor_revisions( result, editor );
self.display_storage_usage( result.storage_bytes );
editor.mark_clean();
if ( editor.startup )
self.startup_notes[ editor.id ] = true;
else if ( self.startup_notes[ editor.id ] )
delete self.startup_notes[ editor.id ];
if ( callback )
callback();
if ( !suppress_save_signal )