Merge remote-tracking branch 'origin/QA_4_3' into QA_4_3

This commit is contained in:
Weblate 2015-02-16 04:50:15 +01:00
commit c52cf9ee23
2 changed files with 8 additions and 0 deletions

View File

@ -7,6 +7,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

View File

@ -304,8 +304,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,