Show the SQL queries too in an Ajax response.

This commit is contained in:
ninadsp
2010-06-30 01:20:09 +05:30
parent eb0e019fa6
commit dac68adc52
2 changed files with 5 additions and 3 deletions

View File

@@ -133,6 +133,7 @@ $(document).ready(function() {
if(data.success == true) {
$("#add_user_dialog").dialog("close").remove();
PMA_ajaxShowMessage(data.message);
$("#topmenucontainer").after(data.sql_query);
}
else {
PMA_ajaxShowMessage(PMA_messages['strErrorProcessingRequest'] + " : "+data.error, "7000");