bug #1388135, IE and dropping databases
This commit is contained in:
@@ -5,6 +5,9 @@ phpMyAdmin - Changelog
|
||||
$Id$
|
||||
$Source$
|
||||
|
||||
2005-12-30 Marc Delisle <lem9@users.sourceforge.net>
|
||||
* server_databases.php: bug #1388135, IE and dropping databases
|
||||
|
||||
2005-12-27 Marc Delisle <lem9@users.sourceforge.net>
|
||||
* main.php, libraries/check_user_privileges.lib.php:
|
||||
- reenable a non-privileged user to change his password
|
||||
|
@@ -66,6 +66,14 @@ $dbstats = empty( $dbstats ) ? 0 : 1;
|
||||
/**
|
||||
* Drops multiple databases
|
||||
*/
|
||||
|
||||
// workaround for IE behavior (it returns some coordinates based on where
|
||||
// the mouse was on the Drop image):
|
||||
|
||||
if (isset($drop_selected_dbs_x)) {
|
||||
$drop_selected_dbs = 'Drop';
|
||||
}
|
||||
|
||||
if ((!empty($drop_selected_dbs) || isset($query_type)) && ($is_superuser || $cfg['AllowUserDropDatabase'])) {
|
||||
if (empty($selected_db) && ! (isset($query_type) && !empty($selected))) {
|
||||
$message = $strNoDatabasesSelected;
|
||||
|
Reference in New Issue
Block a user