Fix for bug #3350790 - JS error in Table->Structure->Index->Edit

This commit is contained in:
Rouslan Placella
2011-07-04 12:51:17 +01:00
parent c4ecddb5a2
commit 2ec0de3a9f
3 changed files with 9 additions and 8 deletions

View File

@@ -133,8 +133,8 @@ if (isset($_REQUEST['index']) && is_array($_REQUEST['index'])) {
?>
<form action="./tbl_indexes.php" method="post" name="index_frm"
onsubmit="if (typeof(this.elements['index'].disabled) != 'undefined') {
this.elements['index'].disabled = false}">
onsubmit="if (typeof(this.elements['index[Key_name]'].disabled) != 'undefined') {
this.elements['index[Key_name]'].disabled = false}">
<?php
$form_params = array(
'db' => $db,