Allow editing of query without database.
This commit is contained in:
@@ -22,6 +22,7 @@ $Source$
|
|||||||
* libraries/get_foreign.lib.php: Free temporary query result.
|
* libraries/get_foreign.lib.php: Free temporary query result.
|
||||||
* lang/czech: Improve some translations.
|
* lang/czech: Improve some translations.
|
||||||
* sql.php: We need bookmark code to be included everytime.
|
* sql.php: We need bookmark code to be included everytime.
|
||||||
|
* libraries/common.lib.php: Allow editing of query without database.
|
||||||
|
|
||||||
2005-10-13 Sebastian Mendel <cybot_tm@users.sourceforge.net>
|
2005-10-13 Sebastian Mendel <cybot_tm@users.sourceforge.net>
|
||||||
* left.php: preselect db if only one db
|
* left.php: preselect db if only one db
|
||||||
|
@@ -2003,7 +2003,7 @@ if (typeof(document.getElementById) != 'undefined'
|
|||||||
|
|
||||||
//if (!isset($GLOBALS['goto'])) {
|
//if (!isset($GLOBALS['goto'])) {
|
||||||
//$edit_target = (isset($GLOBALS['table'])) ? $cfg['DefaultTabTable'] : $cfg['DefaultTabDatabase'];
|
//$edit_target = (isset($GLOBALS['table'])) ? $cfg['DefaultTabTable'] : $cfg['DefaultTabDatabase'];
|
||||||
$edit_target = isset($GLOBALS['db']) ? (isset($GLOBALS['table']) ? 'tbl_properties.php' : 'db_details.php') : '';
|
$edit_target = isset($GLOBALS['db']) ? (isset($GLOBALS['table']) ? 'tbl_properties.php' : 'db_details.php') : 'server_sql.php';
|
||||||
//} else if ($GLOBALS['goto'] != 'main.php') {
|
//} else if ($GLOBALS['goto'] != 'main.php') {
|
||||||
// $edit_target = $GLOBALS['goto'];
|
// $edit_target = $GLOBALS['goto'];
|
||||||
//} else {
|
//} else {
|
||||||
|
Reference in New Issue
Block a user