diff options
author | Rouslan Placella <rouslan@placella.com> | 2011-06-04 23:20:59 +0400 |
---|---|---|
committer | Rouslan Placella <rouslan@placella.com> | 2011-06-04 23:20:59 +0400 |
commit | 2434f0628c6673e45b7579c1c10e1c9cd3d16ecc (patch) | |
tree | 2ce96b059dc1b3fcf7150cbe3be77adb7304be2b /db_routines.php | |
parent | d5358316998ff5bc0ecea9c8362fe62ed24a91ce (diff) |
AJAX integration for Routines editor.
Diffstat (limited to 'db_routines.php')
-rw-r--r-- | db_routines.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/db_routines.php b/db_routines.php index 5e3102c274..5ef688e3d3 100644 --- a/db_routines.php +++ b/db_routines.php @@ -24,6 +24,13 @@ if ($GLOBALS['is_ajax_request'] != true) { * Displays the tabs */ require_once './libraries/db_info.inc.php'; +} else { + if (strlen($db)) { + PMA_DBI_select_db($db); + if (! isset($url_query)) { + $url_query = PMA_generate_common_url($db); + } + } } /** |