removed unused javascript event
This commit is contained in:
14
left.php
14
left.php
@@ -134,18 +134,10 @@ if ( $num_dbs === 0 ) {
|
|||||||
} elseif ( $GLOBALS['cfg']['LeftFrameLight'] && $num_dbs > 1 ) {
|
} elseif ( $GLOBALS['cfg']['LeftFrameLight'] && $num_dbs > 1 ) {
|
||||||
// more than one database available and LeftFrameLight is true
|
// more than one database available and LeftFrameLight is true
|
||||||
// display db selectbox
|
// display db selectbox
|
||||||
|
|
||||||
$_location = PMA_generate_common_url( '', '' );
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<div id="databaseList">
|
<div id="databaseList">
|
||||||
<form method="post" action="index.php" target="_parent" id="left"
|
<form method="post" action="index.php" target="_parent" id="left">
|
||||||
onsubmit="
|
|
||||||
<?php /* open database in main window */ ?>
|
|
||||||
window.parent.goTo( '<?php echo $GLOBALS['cfg']['DefaultTabDatabase'] . '?'
|
|
||||||
. $_location; ?>&db=' + this.value, 'main' );
|
|
||||||
<?php /* refresh left frame with tables from selected db */ ?>
|
|
||||||
window.parent.goTo( 'left.php?<?php echo $_location; ?>&db=' + this.value);
|
|
||||||
return false;">
|
|
||||||
<label for="lightm_db"><?php echo $strDatabase; ?></label>
|
<label for="lightm_db"><?php echo $strDatabase; ?></label>
|
||||||
<?php
|
<?php
|
||||||
echo PMA_generate_common_hidden_inputs() . "\n";
|
echo PMA_generate_common_hidden_inputs() . "\n";
|
||||||
@@ -155,9 +147,9 @@ if ( $num_dbs === 0 ) {
|
|||||||
.'</noscript>' . "\n"
|
.'</noscript>' . "\n"
|
||||||
.'</form>' . "\n"
|
.'</form>' . "\n"
|
||||||
.'</div>' . "\n";
|
.'</div>' . "\n";
|
||||||
unset( $_location );
|
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<div id="left_tableList">
|
<div id="left_tableList">
|
||||||
<?php
|
<?php
|
||||||
// Don't display expansible/collapsible database info if:
|
// Don't display expansible/collapsible database info if:
|
||||||
|
Reference in New Issue
Block a user