diff --git a/js/tbl_structure.js b/js/tbl_structure.js index 34d6a6b6d0..c8363034de 100644 --- a/js/tbl_structure.js +++ b/js/tbl_structure.js @@ -227,26 +227,26 @@ $(document).ready(function() { $("#sqlqueryresults").html(data.sql_query); $("#result_query .notice").remove(); $("#result_query").prepend((data.message)); + if ($("#change_column_dialog").length > 0) { + $("#change_column_dialog").dialog("close").remove(); + } + /*Reload the field form*/ + $.post($("#fieldsForm").attr('action'), $("#fieldsForm").serialize()+"&ajax_request=true", function(form_data) { + $("#fieldsForm").remove(); + var temp_div = $("