[freeside-commits] branch master updated. 9a6e080912eb49a601b574591321cfc915359dc0
Ivan
ivan at 420.am
Mon May 15 10:15:07 PDT 2017
The branch, master has been updated
via 9a6e080912eb49a601b574591321cfc915359dc0 (commit)
from cf98bcb1b302d553ef050c2ef1e4fe7b660705b1 (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 9a6e080912eb49a601b574591321cfc915359dc0
Author: Ivan Kohler <ivan at freeside.biz>
Date: Mon May 15 10:15:06 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