From a2a2c7ad2921632c00c728504b077db4c719ed25 Mon Sep 17 00:00:00 2001 From: Pranav Sharma Date: Wed, 18 Feb 2015 02:04:33 +0530 Subject: [PATCH] Fixed bug: - Redirect to table structure page on creation of new table Signed-off-by: Pranav Sharma --- js/functions.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/js/functions.js b/js/functions.js index fc2f89865d..7921385060 100644 --- a/js/functions.js +++ b/js/functions.js @@ -2520,6 +2520,12 @@ AJAX.registerOnload('functions.js', function () { //Refresh navigation as a new table has been added PMA_reloadNavigation(); + + // Redirect to table structure page on creation of new table + var params_12 = 'ajax_request=true&ajax_page_request=true'; + params_12 += AJAX.cache.menus.getRequestParam(); + tblStruct_url = 'tbl_structure.php?db='+ data._params.db + '&token='+data._params.token +'&goto=db_structure.php&table='+data._params.table+''; + $.get(tblStruct_url, params_12, AJAX.responseHandler); } else { PMA_ajaxShowMessage( '
' + data.error + '
',