Fixing bug that prevent viewing older revisions of notes in the trash.
This commit is contained in:
parent
d3b7d31d34
commit
c3e4f69525
|
@ -230,7 +230,7 @@ Wiki.prototype.create_blank_editor = function ( event ) {
|
|||
}
|
||||
|
||||
Wiki.prototype.load_editor = function ( note_title, note_id, revision, link ) {
|
||||
if ( this.notebook.name == "trash" ) {
|
||||
if ( this.notebook.name == "trash" && !revision ) {
|
||||
this.display_message( "If you'd like to use this note, try undeleting it first." );
|
||||
return;
|
||||
}
|
||||
|
|
Reference in New Issue