witten
/
luminotes
Archived
1
0
Fork 0

Made it clearer when reverting a note what's going on. Now opening the reverted note if it's not yet open, or highlighting it if it is open.

This commit is contained in:
Dan Helfman 2008-09-08 15:44:24 -07:00
parent e06579c881
commit c8e910b43a
1 changed files with 4 additions and 0 deletions

View File

@ -1624,7 +1624,11 @@ Wiki.prototype.submit_form = function ( form ) {
editor.scrape_title();
}
editor.highlight();
signal( self, "note_saved", editor );
} else {
self.load_editor( "Note not found.", form.note_id.value );
}
self.display_storage_usage( result.storage_bytes );