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')