From d22e521b741d899fa9ad7d4fe2c805b3673b99a9 Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Mon, 26 Jan 2009 14:22:50 -0800 Subject: [PATCH] Messages/errors with no given positioning are now by default positioned at the top of the notes (instead of the bottom). --- static/js/Wiki.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/js/Wiki.js b/static/js/Wiki.js index 03bb03f..2e4517e 100644 --- a/static/js/Wiki.js +++ b/static/js/Wiki.js @@ -2547,7 +2547,7 @@ Wiki.prototype.display_message = function ( text, nodes, position_after ) { else if ( this.focused_editor ) insertSiblingNodesAfter( this.focused_editor.holder, div ) else - appendChildNodes( "notes", div ); + insertSiblingNodesAfter( "notes_top", div ); this.scroll_to( div ); @@ -2580,7 +2580,7 @@ Wiki.prototype.display_error = function ( text, nodes, position_after ) { else if ( this.focused_editor ) insertSiblingNodesAfter( this.focused_editor.holder, div ) else - appendChildNodes( "notes", div ); + insertSiblingNodesAfter( "notes_top", div ); this.scroll_to( div );