summaryrefslogtreecommitdiffstats
path: root/usr/local/www/vpn_pppoe_edit.php
diff options
context:
space:
mode:
authorErik Fonnesbeck <efonnes@gmail.com>2010-11-12 22:44:11 -0700
committerErik Fonnesbeck <efonnes@gmail.com>2010-11-12 22:44:11 -0700
commitbddc88183aa575420b6c16f8c73c3df7dc251895 (patch)
tree01ee1bae6ac51d1eb0208abf8c0ad7a8eb9e1312 /usr/local/www/vpn_pppoe_edit.php
parent6f7a997828287492588e8c35106d81d6929a5eb1 (diff)
downloadpfsense-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-xusr/local/www/vpn_pppoe_edit.php2
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
OpenPOWER on IntegriCloud