From 0790463b8d432bf7eba2bc36c011e91aa7522188 Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Mon, 3 Mar 2008 21:11:01 +0000 Subject: [PATCH] Now scrolling vertically to opened errors/messages. --- static/js/Wiki.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/static/js/Wiki.js b/static/js/Wiki.js index a82780b..7eb3892 100644 --- a/static/js/Wiki.js +++ b/static/js/Wiki.js @@ -1534,6 +1534,8 @@ Wiki.prototype.display_message = function ( text, nodes, position_after ) { else appendChildNodes( "notes", div ); + new ScrollTo( div ); + return div; } @@ -1572,6 +1574,8 @@ Wiki.prototype.display_error = function ( text, nodes, position_after ) { else appendChildNodes( "notes", div ); + new ScrollTo( div ); + return div; }