Bug #3598022 Renaming table does not switch to new table
This commit is contained in:
parent
4bbfb292e5
commit
dc0c63ebaa
@ -2159,10 +2159,8 @@ AJAX.registerOnload('functions.js', function() {
|
||||
$.post($form.attr('action'), $form.serialize(), function(data) {
|
||||
if (data.success == true) {
|
||||
PMA_commonParams.set('table', tbl);
|
||||
$('#page_content').replaceWith(
|
||||
"<div id='page_content'>" + data.message + "</div>"
|
||||
);
|
||||
$('html, body').animate({scrollTop: 0}, 'fast');
|
||||
// @toto: somehow show the generated sql query
|
||||
PMA_commonActions.refreshMain();
|
||||
} else {
|
||||
PMA_ajaxShowMessage(data.error, false);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user