From 28dc92ad210c731fe23112e78916f196d02cb408 Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Fri, 9 Jan 2009 14:54:51 -0800 Subject: [PATCH] Fixed a cut and paste error in Wiki.js initialization code. --- 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 b9f5ba3..e948e68 100644 --- a/static/js/Wiki.js +++ b/static/js/Wiki.js @@ -306,7 +306,7 @@ Wiki.prototype.populate = function ( startup_notes, current_notes, note_read_wri else var read_write = this.notebook.read_write; - var static_note = getElement( "static_note_" + startup_note.object_id ); + var static_note = getElement( "static_note_" + note.object_id ); if ( !static_note ) continue; var static_contents = getFirstElementByTagAndClassName( "span", "static_note_contents", static_note ); if ( !static_contents ) continue;