diff options
author | Erik Fonnesbeck <efonnes@gmail.com> | 2010-11-12 22:44:11 -0700 |
---|---|---|
committer | Erik Fonnesbeck <efonnes@gmail.com> | 2010-11-12 22:44:11 -0700 |
commit | bddc88183aa575420b6c16f8c73c3df7dc251895 (patch) | |
tree | 01ee1bae6ac51d1eb0208abf8c0ad7a8eb9e1312 /usr/local/www/services_dhcp.php | |
parent | 6f7a997828287492588e8c35106d81d6929a5eb1 (diff) | |
download | pfsense-bddc88183aa575420b6c16f8c73c3df7dc251895.zip pfsense-bddc88183aa575420b6c16f8c73c3df7dc251895.tar.gz |
Form image buttons are submit buttons and thus default buttons, causing unwanted behavior with the enter key. Use links instead, where possible.
Diffstat (limited to 'usr/local/www/services_dhcp.php')
-rwxr-xr-x | usr/local/www/services_dhcp.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/services_dhcp.php b/usr/local/www/services_dhcp.php index dae460e..e6c3f68 100755 --- a/usr/local/www/services_dhcp.php +++ b/usr/local/www/services_dhcp.php @@ -839,7 +839,7 @@ include("head.inc"); <input autocomplete="off" name="value<?php echo $counter; ?>" type="text" class="formfld" id="value<?php echo $counter; ?>" size="40" value="<?=htmlspecialchars($value);?>" /> </td> <td> - <input type="image" src="/themes/<?echo $g['theme'];?>/images/icons/icon_x.gif" onclick="removeRow(this); return false;" value="<?=gettext("Delete");?>" /> + <a onclick="removeRow(this); return false;" href="#"><img border="0" src="/themes/<?echo $g['theme'];?>/images/icons/icon_x.gif" /></a> </td> </tr> <?php $counter++; ?> |