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:
parent
e06579c881
commit
c8e910b43a
|
@ -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 );
|
||||
|
|
Reference in New Issue