From dc0c63ebaae9ec7dd5122058011f191c6375560b Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Thu, 27 Dec 2012 17:20:52 -0500 Subject: [PATCH] Bug #3598022 Renaming table does not switch to new table --- js/functions.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/js/functions.js b/js/functions.js index 54aca0f855..5338a66266 100644 --- a/js/functions.js +++ b/js/functions.js @@ -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( - "
" + data.message + "
" - ); - $('html, body').animate({scrollTop: 0}, 'fast'); + // @toto: somehow show the generated sql query + PMA_commonActions.refreshMain(); } else { PMA_ajaxShowMessage(data.error, false); }