summaryrefslogtreecommitdiff
path: root/httemplate/pref/pref.html
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2012-06-26 22:23:30 -0700
committerIvan Kohler <ivan@freeside.biz>2012-06-26 22:23:30 -0700
commit2d57d71025519495dd1cdfca3799a6652c674637 (patch)
tree385700ad99669a79bcf3b25a725097e0c36bc4b5 /httemplate/pref/pref.html
parentea830c61145a0c659f24e55a4640db4e2036c06f (diff)
add a user preference to disable submitting the one-time charge form on [enter], RT#14387
Diffstat (limited to 'httemplate/pref/pref.html')
-rw-r--r--httemplate/pref/pref.html9
1 files changed, 8 insertions, 1 deletions
diff --git a/httemplate/pref/pref.html b/httemplate/pref/pref.html
index 8fd1eaa73..8e56355db 100644
--- a/httemplate/pref/pref.html
+++ b/httemplate/pref/pref.html
@@ -32,7 +32,7 @@ Interface
<TR>
<TH ALIGN="right">Locale: </TH>
- <TD>
+ <TD COLSPAN=2>
<SELECT NAME="locale">
% foreach my $locale ( FS::Locales->locales ) {
% my %info = FS::Locales->locale_info($locale);
@@ -83,6 +83,13 @@ Interface
</TD>
</TR>
+ <TR>
+ <TH ALIGN="right" COLSPAN=1>Disable submission on [Enter] key - one-time charges: </TH>
+ <TD ALIGN="left" COLSPAN=2>
+ <INPUT TYPE="checkbox" NAME="disable_enter_submit_onetimecharge" VALUE="1" <% $curuser->option('disable_enter_submit_onetimecharge') ? 'CHECKED' : '' %>>
+ </TD>
+ </TR>
+
</TABLE>
<BR>