From 0705b62f92bc358d36bd0c9a290ad9f51e719117 Mon Sep 17 00:00:00 2001 From: Jonathan Prykop Date: Thu, 14 Apr 2016 08:10:48 -0500 Subject: [PATCH] RT#41671 Fix double click prevention for all legacy buttons [full-on fixes] --- httemplate/edit/cust_refund.cgi | 4 ++-- httemplate/misc/tax-fetch_and_import.cgi | 3 ++- httemplate/misc/tax-fetch_and_replace.cgi | 3 ++- httemplate/search/elements/cust_pay_or_refund.html | 2 +- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/httemplate/edit/cust_refund.cgi b/httemplate/edit/cust_refund.cgi index bfcbfe725..32da4543e 100755 --- a/httemplate/edit/cust_refund.cgi +++ b/httemplate/edit/cust_refund.cgi @@ -10,7 +10,7 @@ <% small_custview($custnum, $conf->config('countrydefault')) %> % } -
+ @@ -116,7 +116,7 @@
- +
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. 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. diff --git a/httemplate/search/elements/cust_pay_or_refund.html b/httemplate/search/elements/cust_pay_or_refund.html index 7d7fb73e9..b07f5e9d2 100755 --- a/httemplate/search/elements/cust_pay_or_refund.html +++ b/httemplate/search/elements/cust_pay_or_refund.html @@ -63,7 +63,7 @@ Examples: sub { sprintf($money, $_[0]->$amount_field) }, ], 'total_row' => [ 'Total', - sub { warn Dumper @_; sprintf("$money", $_[0]->$amount_field) }, + sub { sprintf("$money", $_[0]->$amount_field) }, ], 'show_combined' => 1, &> -- 2.11.0