Move the Cancel button next to the Save button

This commit is contained in:
Marc Delisle 2011-11-27 07:37:43 -05:00
parent 3c4e231867
commit 301f8d981a

View File

@ -1559,6 +1559,13 @@ function PMA_createTableDialog( $div, url , target)
});
PMA_verifyColumnsProperties();
// move the Cancel button next to the Save button
var $button_pane = $('.ui-dialog-buttonpane');
var $cancel_button = $button_pane.find('.ui-button');
var $save_button = $('#create_table_form').find("input[name='do_save_data']");
$cancel_button.insertAfter($save_button);
$button_pane.hide();
},
close: function() {
$(window).unbind('resize.dialog-resizer');