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/vpn_pppoe_edit.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/vpn_pppoe_edit.php')
-rwxr-xr-x | usr/local/www/vpn_pppoe_edit.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/vpn_pppoe_edit.php b/usr/local/www/vpn_pppoe_edit.php index b04ed0c..6c94797 100755 --- a/usr/local/www/vpn_pppoe_edit.php +++ b/usr/local/www/vpn_pppoe_edit.php @@ -556,7 +556,7 @@ function enable_change(enable_over) { <input name="ip<?php echo $tracker; ?>" type="text" class="formfld unknown" id="ip<?php echo $tracker; ?>" size="10" value="<?=htmlspecialchars($ip);?>" /> </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 |