From 11706ad84c8bb46655754219ce9195d3b94d54f2 Mon Sep 17 00:00:00 2001 From: "Fawzi E. Abdulfattah" Date: Wed, 28 Jul 2021 02:20:27 +0200 Subject: [PATCH] Fixing the issue of hiding the structure options if the structure is not selected Signed-off-by: Fawzi E. Abdulfattah --- js/src/export.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/js/src/export.js b/js/src/export.js index 4e26c2f5d5..7b5b301471 100644 --- a/js/src/export.js +++ b/js/src/export.js @@ -506,19 +506,11 @@ Export.checkTableSelectAll = function () { }; Export.checkTableSelectStructureOrData = function () { - var strChecked = $('input[name="table_structure[]"]:checked').length; var dataChecked = $('input[name="table_data[]"]:checked').length; var autoIncrement = $('#checkbox_sql_auto_increment'); var pluginName = $('select#plugins').val(); var dataDiv = '#' + pluginName + '_data'; - var structureDiv = '#' + pluginName + '_structure'; - - if (strChecked === 0) { - $(structureDiv).slideUp('slow'); - } else { - $(structureDiv).slideDown('slow'); - } if (dataChecked === 0) { $(dataDiv).slideUp('slow');