From 2986a7b1a05ad71d5a775646e512e20e522bb6bf Mon Sep 17 00:00:00 2001 From: ninadsp Date: Tue, 15 Jun 2010 14:58:48 +0530 Subject: [PATCH] Removed inline JavaScript calls to confirmLink for renaming the database, added an id to the form and submit button --- db_operations.php | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/db_operations.php b/db_operations.php index 40ec65272..95c626f7a 100755 --- a/db_operations.php +++ b/db_operations.php @@ -23,6 +23,11 @@ require_once './libraries/mysql_charsets.lib.php'; // add blobstreaming library functions require_once "./libraries/blobstreaming.lib.php"; +// add a javascript file for jQuery functions to handle Ajax actions +// also add jQueryUI +$GLOBALS['js_include'][] = 'jquery/jquery-ui-1.8.custom.js'; +$GLOBALS['js_include'][] = 'db_operations.js'; + /** * Rename/move or copy database */ @@ -391,7 +396,7 @@ if (!$is_information_schema) { * rename database */ ?> -
- +