From 68de01a99e1e0837b9a82f80342f2e883c37d09e Mon Sep 17 00:00:00 2001 From: Dhananjay Nakrani Date: Thu, 12 Jun 2014 21:52:07 +0530 Subject: [PATCH] Minor Interface improvements. Scroll down & show 'working' icon. Signed-off-by: Dhananjay Nakrani --- js/ajax.js | 1 + js/messages.php | 3 +++ 2 files changed, 4 insertions(+) diff --git a/js/ajax.js b/js/ajax.js index 5af4affcde..f739e49c87 100644 --- a/js/ajax.js +++ b/js/ajax.js @@ -413,6 +413,7 @@ var AJAX = { ) { $("#pma_report_errors_form").submit(); PMA_ajaxShowMessage(PMA_messages['phpErrorsBeingSubmitted'], false); + $('html, body').animate({scrollTop:$(document).height()}, 'slow'); } else if (data._promptPhpErrors) { // otherwise just prompt user if it is set so. msg = msg + PMA_messages['phpErrorsFound']; diff --git a/js/messages.php b/js/messages.php index 59146e83bc..e0448b964b 100644 --- a/js/messages.php +++ b/js/messages.php @@ -443,6 +443,9 @@ $js_messages['phpErrorsBeingSubmitted'] = '
' . '
' . __('As per your settings, they are being submitted currently.') . __(' Please be patient.') + . '
' + . 'ajax clock' . '
'; echo "var PMA_messages = new Array();\n";