diff --git a/ChangeLog b/ChangeLog index 640d93c607..7721d07405 100644 --- a/ChangeLog +++ b/ChangeLog @@ -58,6 +58,7 @@ phpMyAdmin - ChangeLog - issue #12955 Fixed database renaming - issue #12954 Fixed export of tracking data - issue #12960 Enclose exports in transaction by default +- issue #12966 After adding a column ADD INDEX option won't be displayed when enabling AI 4.6.6 (2017-01-23) - issue #12759 Fix Notice regarding 'Undefined index: old_usergroup' diff --git a/js/functions.js b/js/functions.js index 13a300d259..1060d2a518 100644 --- a/js/functions.js +++ b/js/functions.js @@ -2998,7 +2998,7 @@ AJAX.registerOnload('functions.js', function () { } }); - $("input[value=AUTO_INCREMENT]").change(function(){ + $(document).on('change', "input[value=AUTO_INCREMENT]", function() { if (this.checked) { var col = /\d/.exec($(this).attr('name')); col = col[0];