From 12558e7377a4baa43445b601ad73eff62e61f2c6 Mon Sep 17 00:00:00 2001 From: Ashutosh Dhundhara Date: Sun, 15 Feb 2015 23:40:42 +0530 Subject: [PATCH] Display throbber during 'Preview SQL'. Signed-off-by: Ashutosh Dhundhara --- js/functions.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/functions.js b/js/functions.js index d1fb1c1235..fc2f89865d 100644 --- a/js/functions.js +++ b/js/functions.js @@ -2011,11 +2011,13 @@ function PMA_previewSQL($form) '&do_save_data=1' + '&preview_sql=1' + '&ajax_request=1'; + var $msgbox = PMA_ajaxShowMessage(); $.ajax({ type: 'POST', url: form_url, data: form_data, success: function (response) { + PMA_ajaxRemoveMessage($msgbox); if (response.success) { var $dialog_content = $('
') .append(response.sql_data);