diff --git a/ChangeLog b/ChangeLog index aba3cac1c0..f9307261b1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -55,6 +55,7 @@ phpMyAdmin - ChangeLog - bug Remove extra column heading in view structure page - bug Add missing confirmation when deleting central columns - bug Undefined index DisableIS +- bug #4763 Database export with more than 512 tables fails 4.3.9.0 (2015-02-05) - bug #4728 Incorrect headings in routine editor diff --git a/js/export.js b/js/export.js index 787e3c3482..90e6f445f6 100644 --- a/js/export.js +++ b/js/export.js @@ -310,8 +310,15 @@ function createAliasModal(event) { }; dlgButtons[PMA_messages.strSaveAndClose] = function() { $(this).dialog("close"); + // do not fillup form submission with empty values + $.each($(this).find('input[type="text"]'), function (i, e) { + if ($(e).val().trim().length == 0) { + $(e).prop('disabled', true); + } + }); $('#alias_modal').parent().appendTo($('form[name="dump"]')); }; + $('#alias_modal input[type="text"]').prop('disabled', false); $('#alias_modal').dialog({ width: Math.min($(window).width() - 100, 700), modal: true, diff --git a/libraries/display_export.lib.php b/libraries/display_export.lib.php index 4efe0c5b21..d7f5ed828b 100644 --- a/libraries/display_export.lib.php +++ b/libraries/display_export.lib.php @@ -803,7 +803,7 @@ function PMA_getHtmlForAliasModalDialog($db = '', $table = '') } $db_input_html .= ''; + . 'id="' . $id_attr . '" value="' . $val . '" disabled="disabled"/>'; $db_html .= ''; $table_html .= ''; $table_html .= '