diff --git a/js/sql.js b/js/sql.js index 4e34126a0..6895b16c5 100644 --- a/js/sql.js +++ b/js/sql.js @@ -290,6 +290,9 @@ $(document).ready(function() { } else { // real results are returned + // fade out previous messages, if any + $('.success').fadeOut(); + $('.sqlquery_message').fadeOut(); $received_data = $(data); $zero_row_results = $received_data.find('textarea[name="sql_query"]'); // if zero rows are returned from the query execution