From c4e523a52d5c65c5c6d2a90b66457336d52d3271 Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Mon, 22 Oct 2007 20:57:26 +0000 Subject: [PATCH] Shouldn't include search results note in "all notes" list. --- static/js/Wiki.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/Wiki.js b/static/js/Wiki.js index 570587f..737d524 100644 --- a/static/js/Wiki.js +++ b/static/js/Wiki.js @@ -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";