Removed the inline JavaScript confirmLinkDropDB() call and added an id

"drop_db_anchor" to the tab
This commit is contained in:
ninadsp
2010-06-05 14:56:08 +05:30
parent 049c90ee0b
commit 50dabaf4e7

View File

@@ -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';
}
/**