Bug #3281333 AJAX response does not remove old contents
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user