Go back to tbl_structure page after editing a view

This commit is contained in:
Kasun Chathuranga 2013-07-12 09:26:08 +05:30
parent 05b5f0a284
commit bee4c42060

View File

@ -17,7 +17,7 @@ require_once './libraries/common.inc.php';
* Runs common work
*/
require './libraries/db_common.inc.php';
$url_params['goto'] = $cfg['DefaultTabDatabase'];
$url_params['goto'] = 'tbl_structure';
$url_params['back'] = 'view_create.php';
$view_algorithm_options = array(
@ -110,7 +110,7 @@ if (isset($_REQUEST['createview']) || isset($_REQUEST['alterview'])) {
if (! isset($_REQUEST['ajax_dialog'])) {
$message = PMA_Message::success();
include './' . $cfg['DefaultTabDatabase'];
include 'tbl_structure';
} else {
$response = PMA_Response::getInstance();
$response->addJSON(