Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorninadsp <ninadsp16289@gmail.com>2010-07-31 00:55:29 +0400
committerninadsp <ninadsp16289@gmail.com>2010-07-31 00:55:29 +0400
commite6f083c7030b0d19b46e9ba1807fb8c6009496cb (patch)
tree7fa8e671d86cf392c09684c54092d71808b0a9d1 /db_create.php
parentb19fa7c60f7c085138617693bd862a2c00f510e1 (diff)
Ajaxified Create Database action. Have to append newly created db to table yet though
Diffstat (limited to 'db_create.php')
-rwxr-xr-xdb_create.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/db_create.php b/db_create.php
index 69e12153da..debf68aeaf 100755
--- a/db_create.php
+++ b/db_create.php
@@ -41,6 +41,11 @@ if (! $result) {
// avoid displaying the not-created db name in header or navi panel
$GLOBALS['db'] = '';
$GLOBALS['table'] = '';
+
+ if($GLOBALS['is_ajax_request'] == true) {
+ PMA_ajaxResponse($message, FALSE);
+ }
+
require_once './libraries/header.inc.php';
require_once './main.php';
} else {
@@ -48,6 +53,10 @@ if (! $result) {
$message->addParam($new_db);
$GLOBALS['db'] = $new_db;
+ if($GLOBALS['is_ajax_request'] == true) {
+ PMA_ajaxResponse($message, true);
+ }
+
require_once './libraries/header.inc.php';
require_once './' . $cfg['DefaultTabDatabase'];
}