From: Jonathan Prykop Date: Thu, 14 Apr 2016 13:38:54 +0000 (-0500) Subject: RT#41671 Fix double click prevention for all legacy buttons [renamed all from submit... X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=d65927fb45aa1c47d7f593db0142d14799b0fabf;p=freeside.git RT#41671 Fix double click prevention for all legacy buttons [renamed all from submit to submitButton] --- diff --git a/httemplate/browse/addr_block.cgi b/httemplate/browse/addr_block.cgi index ba40bfd43..536a4f741 100644 --- a/httemplate/browse/addr_block.cgi +++ b/httemplate/browse/addr_block.cgi @@ -111,7 +111,7 @@ $html_foot .= include( '/elements/select-agent.html', 'agent_null_right' => 'Broadband global configuration', ); $html_foot .= qq( - + ); diff --git a/httemplate/edit/cust_main_attach.cgi b/httemplate/edit/cust_main_attach.cgi index 0880c760a..ba40b307a 100755 --- a/httemplate/edit/cust_main_attach.cgi +++ b/httemplate/edit/cust_main_attach.cgi @@ -31,7 +31,7 @@
% if(! $disabled) { -"> % } % if(defined $attach and $curuser->access_right('Delete attachment')) { diff --git a/httemplate/edit/cust_pkg_detail.html b/httemplate/edit/cust_pkg_detail.html index a1a6db6d3..37a801373 100644 --- a/httemplate/edit/cust_pkg_detail.html +++ b/httemplate/edit/cust_pkg_detail.html @@ -43,7 +43,7 @@
- + diff --git a/httemplate/edit/cust_pkg_discount.html b/httemplate/edit/cust_pkg_discount.html index e1e3daede..5aece573d 100755 --- a/httemplate/edit/cust_pkg_discount.html +++ b/httemplate/edit/cust_pkg_discount.html @@ -23,7 +23,7 @@
- + diff --git a/httemplate/edit/cust_pkg_quantity.html b/httemplate/edit/cust_pkg_quantity.html index ec47ed6cb..eadd1b504 100755 --- a/httemplate/edit/cust_pkg_quantity.html +++ b/httemplate/edit/cust_pkg_quantity.html @@ -21,7 +21,7 @@
- + diff --git a/httemplate/edit/cust_pkg_salesnum.html b/httemplate/edit/cust_pkg_salesnum.html index dba2a905e..da6c0e89b 100755 --- a/httemplate/edit/cust_pkg_salesnum.html +++ b/httemplate/edit/cust_pkg_salesnum.html @@ -21,7 +21,7 @@
- + diff --git a/httemplate/edit/elements/ApplicationCommon.html b/httemplate/edit/elements/ApplicationCommon.html index a531eaad4..9c068c18e 100644 --- a/httemplate/edit/elements/ApplicationCommon.html +++ b/httemplate/edit/elements/ApplicationCommon.html @@ -103,7 +103,7 @@ function changed(what) { dst = what.options[what.selectedIndex].value; if ( dst == '' ) { - what.form.submit.disabled=true; + what.form.submitButton.disabled=true; %if ($use_sub_dst_thing && $src_pkey eq 'crednum') { what.form.tax_button.disabled=true; what.form.clear_button.disabled=true; @@ -111,7 +111,7 @@ function changed(what) { return true; } - what.form.submit.disabled=false; + what.form.submitButton.disabled=false; %if ($use_sub_dst_thing && $src_pkey eq 'crednum') { what.form.tax_button.disabled=false; what.form.clear_button.disabled=false; @@ -373,7 +373,7 @@ function src_amount_changed () {
% $svcpart = '' if $opt{clone};
- format): -
+
% } elsif ( $mode eq 'preview' ) { @@ -71,7 +71,7 @@ % if ( $mode eq 'preview' ) {
- + % } diff --git a/httemplate/edit/part_svc.cgi b/httemplate/edit/part_svc.cgi index a07fc6005..fa5a81ab3 100755 --- a/httemplate/edit/part_svc.cgi +++ b/httemplate/edit/part_svc.cgi @@ -37,7 +37,7 @@