<form action="" method="post">
<table cellspacing="0" class="nowrap">
-<thead><tr><th><?php echo lang('Index Type'); ?><th><?php echo lang('Column (length)'); ?><th><?php echo lang('Name'); ?><th><noscript><input type='image' class='icon' name='add[0]' src='../adminer/static/plus.gif' alt='+' title='<?php echo lang('Add next'); ?>'></noscript> </thead>
+<thead><tr>
+<th><?php echo lang('Index Type'); ?>
+<th><input type="submit" style="z-index: -1; position: absolute; height: 0;"><?php echo lang('Column (length)'); ?>
+<th><?php echo lang('Name'); ?>
+<th><noscript><input type='image' class='icon' name='add[0]' src='../adminer/static/plus.gif' alt='+' title='<?php echo lang('Add next'); ?>'></noscript>
+</thead>
<?php
$j = 1;
foreach ($row["indexes"] as $index) {
var inputs = form.getElementsByTagName('input');
for (var i = 0; i < inputs.length; i++) {
var input = inputs[i];
- if (input.type == 'submit') {
+ if (input.type == 'submit' && !input.style.zIndex) {
return input;
}
}