summaryrefslogtreecommitdiff
path: root/httemplate/edit/reg_code.cgi
diff options
context:
space:
mode:
authorJonathan Prykop <jonathan@freeside.biz>2016-04-14 08:21:26 -0500
committerJonathan Prykop <jonathan@freeside.biz>2016-04-14 08:21:26 -0500
commit55daa3803103f841d0fb2b559040115908724da8 (patch)
tree80861b402007175ceefa6cb4baff71a02bf613ce /httemplate/edit/reg_code.cgi
parent497739310211650a12becc4ca7954c2b055499c8 (diff)
RT#41671 Fix double click prevention for all legacy buttons [worked previously, renamed button, still work]
Diffstat (limited to 'httemplate/edit/reg_code.cgi')
-rw-r--r--httemplate/edit/reg_code.cgi4
1 files changed, 2 insertions, 2 deletions
diff --git a/httemplate/edit/reg_code.cgi b/httemplate/edit/reg_code.cgi
index 76790ab02..e8e08cd5c 100644
--- a/httemplate/edit/reg_code.cgi
+++ b/httemplate/edit/reg_code.cgi
@@ -2,7 +2,7 @@
<% include('/elements/error.html') %>
-<FORM ACTION="<%popurl(1)%>process/reg_code.cgi" METHOD="POST" NAME="OneTrueForm" onSubmit="document.OneTrueForm.submit.disabled=true">
+<FORM ACTION="<%popurl(1)%>process/reg_code.cgi" METHOD="POST" NAME="OneTrueForm" onSubmit="document.OneTrueForm.submitButton.disabled=true">
<INPUT TYPE="hidden" NAME="agentnum" VALUE="<% $agent->agentnum %>">
Generate
@@ -25,7 +25,7 @@ registration codes for <B><% $agent->agent %></B> allowing the following package
<BR>
-<INPUT TYPE="submit" NAME="submit" VALUE="Generate">
+<INPUT TYPE="submit" NAME="submitButton" VALUE="Generate">
</FORM>