witten
/
luminotes
Archived
1
0
Fork 0

Fixing bug that prevent viewing older revisions of notes in the trash.

This commit is contained in:
Dan Helfman 2007-09-02 03:51:31 +00:00
parent d3b7d31d34
commit c3e4f69525
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}