witten
/
luminotes
Archived
1
0
Fork 0

Fixed a visual bug in which undoing the deletion of a note didn't always make the note reappear, even though the undeletion always worked.

This commit is contained in:
Dan Helfman 2008-11-14 17:01:55 -08:00
parent e7038bfb1f
commit 968266079c
2 changed files with 8 additions and 8 deletions

2
NEWS
View File

@ -5,6 +5,8 @@
having to click "options" -> "show on startup".
* Fixed a bug in which search result note summaries were not showing the
portion of the note that matched the search term. (Luminotes Server)
* Fixed a visual bug in which undoing the deletion of a note didn't always
make the note reappear, even though the undeletion always worked.
1.5.6: November 12, 2008
* Greatly improved the speed of wiki searching for Luminotes Server and

View File

@ -1546,12 +1546,11 @@ Wiki.prototype.undelete_editor_via_undo = function( event, editor, position_afte
self.display_storage_usage( result.storage_bytes );
self.clear_messages();
self.clear_pulldowns();
self.startup_notes[ editor.id ] = true;
self.increment_total_notes_count();
self.load_editor( "Note not found.", editor.id, null, null, null, position_after );
} );
}
this.startup_notes[ editor.id ] = true;
this.increment_total_notes_count();
this.load_editor( "Note not found.", editor.id, null, null, null, position_after );
}
event.stop();
@ -1567,13 +1566,12 @@ Wiki.prototype.undelete_editor_via_undelete = function( event, note_id, position
self.display_storage_usage( result.storage_bytes );
self.clear_messages();
self.clear_pulldowns();
self.startup_notes[ note_id ] = true;
self.increment_total_notes_count();
self.load_editor( "Note not found.", note_id, null, null, null, position_after );
} );
}
this.startup_notes[ note_id ] = true;
this.increment_total_notes_count();
this.load_editor( "Note not found.", note_id, null, null, null, position_after );
event.stop();
}