From 2fc3f1beba4296bd1e25a5127a97bea3753b9b2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Fri, 22 Jan 2010 15:40:45 +0000 Subject: [PATCH] Allow to edit table name when creating new one. --- libraries/tbl_properties.inc.php | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/libraries/tbl_properties.inc.php b/libraries/tbl_properties.inc.php index 43b4fe027..5a46415b9 100644 --- a/libraries/tbl_properties.inc.php +++ b/libraries/tbl_properties.inc.php @@ -45,7 +45,6 @@ if ('horizontal' == $display_type) { $_form_params = array( 'db' => $db, - 'table' => $table, ); if ($action == 'tbl_create.php') { @@ -53,6 +52,7 @@ if ($action == 'tbl_create.php') { } elseif ($action == 'tbl_addfield.php') { $_form_params['field_where'] = $_REQUEST['field_where']; $_form_params['after_field'] = $_REQUEST['after_field']; + $_form_params['table'] = $table; } if (isset($num_fields)) { @@ -609,6 +609,21 @@ document.onkeydown = onKeyDownArrowsHandler; + + + + + + +
+
+