bug #4812 Issues with index dialog while creating a table
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
This commit is contained in:
parent
15b8c778c0
commit
e8ced3949d
@ -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() === '') {
|
||||
|
||||
@ -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');
|
||||
});
|
||||
|
||||
@ -460,7 +460,7 @@ function PMA_getHtmlForIndexForm($fields, $index, $form_params, $add_fields)
|
||||
$html .= '<div class="add_more">';
|
||||
$btn_value = sprintf(__('Add %s column(s) to index'), 1);
|
||||
$html .= '<div class="slider"></div>';
|
||||
$html .= '<div class="add_fields">';
|
||||
$html .= '<div class="add_fields hide">';
|
||||
$html .= '<input type="submit" id="add_fields" value="' . $btn_value . '" />';
|
||||
$html .= '</div>';
|
||||
$html .= '</div>';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user