diff options
author | Jonathan Prykop <jonathan@freeside.biz> | 2016-04-14 08:10:48 -0500 |
---|---|---|
committer | Jonathan Prykop <jonathan@freeside.biz> | 2016-04-14 08:44:48 -0500 |
commit | d6268e8331cd48d4f7a10517680b53b010ad92c8 (patch) | |
tree | 74a533fc2b8545e6d5251f8834564415ee00adc7 /httemplate/misc | |
parent | 3061ba49c4e98dd806cbaa9b037711e220244a54 (diff) |
RT#41671 Fix double click prevention for all legacy buttons [full-on fixes]
Diffstat (limited to 'httemplate/misc')
-rw-r--r-- | httemplate/misc/tax-fetch_and_import.cgi | 3 | ||||
-rw-r--r-- | httemplate/misc/tax-fetch_and_replace.cgi | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/httemplate/misc/tax-fetch_and_import.cgi b/httemplate/misc/tax-fetch_and_import.cgi index 33a6c9b01..970d47c32 100644 --- a/httemplate/misc/tax-fetch_and_import.cgi +++ b/httemplate/misc/tax-fetch_and_import.cgi @@ -29,8 +29,9 @@ Import a tax data update. <TR> <TD COLSPAN=2 ALIGN="center" STYLE="padding-top:6px"> <INPUT TYPE = "submit" + NAME = "submitButton" VALUE = "Download and Import" - onClick = "document.TaxRateImport.submit.disabled=true; process();" + onClick = "document.TaxRateImport.submitButton.disabled=true; process();" > </TD> </TR> diff --git a/httemplate/misc/tax-fetch_and_replace.cgi b/httemplate/misc/tax-fetch_and_replace.cgi index 3290a3c44..ff64e6320 100644 --- a/httemplate/misc/tax-fetch_and_replace.cgi +++ b/httemplate/misc/tax-fetch_and_replace.cgi @@ -29,8 +29,9 @@ Replace tax data. <TR> <TD COLSPAN=2 ALIGN="center" STYLE="padding-top:6px"> <INPUT TYPE = "submit" + NAME = "submitButton" VALUE = "Download and Import" - onClick = "document.TaxRateImport.submit.disabled=true; process();" + onClick = "document.TaxRateImport.submitButton.disabled=true; process();" > </TD> </TR> |