Minor Interface improvements. Scroll down & show 'working' icon.

Signed-off-by: Dhananjay Nakrani <dhananjaynakrani@gmail.com>
This commit is contained in:
Dhananjay Nakrani 2014-06-12 21:52:07 +05:30
parent 8b09aa7f76
commit 68de01a99e
2 changed files with 4 additions and 0 deletions

View File

@ -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'];

View File

@ -443,6 +443,9 @@ $js_messages['phpErrorsBeingSubmitted'] = '<div class="error">'
. '<br/>'
. __('As per your settings, they are being submitted currently.')
. __(' Please be patient.')
. '<br/>'
. '<img src="'.($_SESSION['PMA_Theme']->getImgPath('ajax_clock_small.gif')).'"'
. ' width="16" height="16" alt="ajax clock"/>'
. '</div>';
echo "var PMA_messages = new Array();\n";