From 50dabaf4e7dc4f165d0fc607db6a278f1b8180a5 Mon Sep 17 00:00:00 2001 From: ninadsp Date: Sat, 5 Jun 2010 14:56:08 +0530 Subject: [PATCH] Removed the inline JavaScript confirmLinkDropDB() call and added an id "drop_db_anchor" to the tab --- libraries/db_links.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/db_links.inc.php b/libraries/db_links.inc.php index 1010eac93..2f19754c6 100755 --- a/libraries/db_links.inc.php +++ b/libraries/db_links.inc.php @@ -47,7 +47,7 @@ if (($is_superuser || $GLOBALS['cfg']['AllowUserDropDatabase']) && ! $db_is_info $tab_drop['args']['back'] = 'db' . $sub_part . '.php'; $tab_drop['args']['reload'] = 1; $tab_drop['args']['purge'] = 1; - $tab_drop['attr'] = 'onclick="return confirmLinkDropDB(this, \'DROP DATABASE ' . PMA_jsFormat($db) . '\')"'; + $tab_drop['id'] = 'drop_db_anchor'; } /**