[freeside-commits] branch FREESIDE_3_BRANCH updated. 4da979f579e6ba1f3a502270ebb4b8e48526747e

Ivan ivan at 420.am
Mon May 15 10:15:10 PDT 2017


The branch, FREESIDE_3_BRANCH has been updated
       via  4da979f579e6ba1f3a502270ebb4b8e48526747e (commit)
      from  ba375fd5f0c6af9d2880a4db1396ffb182754413 (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 4da979f579e6ba1f3a502270ebb4b8e48526747e
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Mon May 15 10:15:09 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 abaaa5b..af25df3 100644
--- a/httemplate/elements/tr-select-cust_location.html
+++ b/httemplate/elements/tr-select-cust_location.html
@@ -224,9 +224,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