witten
/
luminotes
Archived
1
0
Fork 0

Shouldn't include search results note in "all notes" list.

This commit is contained in:
Dan Helfman 2007-10-22 20:57:26 +00:00
parent 9ef2eb9954
commit c4e523a52d
1 changed files with 1 additions and 1 deletions

View File

@ -1105,7 +1105,7 @@ Wiki.prototype.remove_all_notes_link = function ( note_id ) {
Wiki.prototype.add_all_notes_link = function ( note_id, note_title ) {
if ( !this.all_notes_editor ) return;
if ( note_title == "all notes" ) return;
if ( note_title == "all notes" || note_title == "search results" ) return;
if ( !note_title || note_title.length == 0 )
note_title = "untitled note";