[freeside-commits] branch FREESIDE_4_BRANCH updated. 8f3cc0805952046b0445c1c5e7aab414485d5a00
Ivan
ivan at 420.am
Mon May 15 10:15:09 PDT 2017
The branch, FREESIDE_4_BRANCH has been updated
via 8f3cc0805952046b0445c1c5e7aab414485d5a00 (commit)
from ffb56f5a762ac0e820ea93eb0aa8c64d7fa71e5d (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 8f3cc0805952046b0445c1c5e7aab414485d5a00
Author: Ivan Kohler <ivan at freeside.biz>
Date: Mon May 15 10:15:07 2017 -0700
fix address stickiness on errors, RT#76000
diff --git a/httemplate/elements/tr-select-cust_location.html b/httemplate/elements/tr-select-cust_location.html
index 47a917d..34ed78d 100644
--- a/httemplate/elements/tr-select-cust_location.html
+++ b/httemplate/elements/tr-select-cust_location.html
@@ -205,9 +205,13 @@ Example:
'enable_censustract' => 1,
)
%>
-<SCRIPT TYPE="text/javascript">
- locationnum_changed(document.getElementById('locationnum'));
-</SCRIPT>
+
+% unless ( $prospect_main ) {
+ <SCRIPT TYPE="text/javascript">
+ locationnum_changed(document.getElementById('locationnum'));
+ </SCRIPT>
+% }
+
<%init>
my $conf = new FS::Conf;
-----------------------------------------------------------------------
Summary of changes:
httemplate/elements/tr-select-cust_location.html | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
More information about the freeside-commits
mailing list