diff --git a/js/functions.js b/js/functions.js index 7f3dcb28d4..c37b5175a0 100644 --- a/js/functions.js +++ b/js/functions.js @@ -368,7 +368,7 @@ function PMA_addDatepicker($this_element, type, options) }, 0); }, onSelect: function() { - $this_element.data('datepicker').inline = true; + $this_element.data('datepicker').inline = true; }, onClose: function (dateText, dp_inst) { // The value is no more from the date picker @@ -3493,6 +3493,7 @@ function showIndexEditDialog($outer) ); } }); + $('div.add_fields').removeClass('hide'); // focus index size input on column picked $outer.find('table#index_columns select').change(function () { if ($(this).find("option:selected").val() === '') { diff --git a/js/indexes.js b/js/indexes.js index 009b940d13..1e997a5edc 100644 --- a/js/indexes.js +++ b/js/indexes.js @@ -344,6 +344,7 @@ function PMA_showAddIndexDialog(source_array, array_index, target_columns, col_i open: function () { checkIndexName("index_frm"); PMA_showHints($div); + PMA_init_slider(); $('#index_columns td').each(function () { $(this).css("width", $(this).width() + 'px'); }); diff --git a/libraries/tbl_indexes.lib.php b/libraries/tbl_indexes.lib.php index 5724b10617..2265a8814a 100644 --- a/libraries/tbl_indexes.lib.php +++ b/libraries/tbl_indexes.lib.php @@ -460,7 +460,7 @@ function PMA_getHtmlForIndexForm($fields, $index, $form_params, $add_fields) $html .= '