From 9deac3deb2f24e140684f2b2fdbae1c6216db0b6 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Wed, 9 Mar 2011 17:15:40 -0500 Subject: [PATCH] Bug #3197273 Creating table with error does not show anything --- js/functions.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/functions.js b/js/functions.js index b86ffe330..d09109f65 100644 --- a/js/functions.js +++ b/js/functions.js @@ -1821,6 +1821,8 @@ $(document).ready(function() { $('#properties_message') .addClass('error') .html(data.error); + // scroll to the div containing the error message + $('#properties_message')[0].scrollIntoView(); } }) // end $.post() } // end if ($form.hasClass('ajax')