diff --git a/ChangeLog b/ChangeLog index 897a16bb36..90543b65f2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -14,6 +14,7 @@ phpMyAdmin - ChangeLog - issue #11695 PMA_getDataForDeleteUsers() warning - issue #11698 Cannot create user on Percona Server - issue Properly report error on connecting +- issue #11706 Database export template not saving compression option 4.5.2.0 (2015-11-23) - issue #11589 Incorrect parameter in mysqli_fetch_fields() diff --git a/js/export.js b/js/export.js index f800a9050b..3ed6f4973a 100644 --- a/js/export.js +++ b/js/export.js @@ -320,14 +320,14 @@ AJAX.registerOnload('export.js', function () { // For separate-file exports only ZIP compression is allowed $('input[type="checkbox"][name="as_separate_files"]').change(function(){ - if (! $(this).attr('checked')) { + if ($(this).is(':checked')) { $('#compression').val('zip'); } }); $('#compression').change(function(){ if ($('option:selected').val() !== 'zip') { - $('input[type="checkbox"][name="as_separate_files"]').attr('checked', false); + $('input[type="checkbox"][name="as_separate_files"]').prop('checked', false); } });