summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2017-09-18 14:58:30 -0700
committerIvan Kohler <ivan@freeside.biz>2017-09-18 14:58:30 -0700
commitb0252a835ec2fc25a761e8785a0026316d1ea2d9 (patch)
treea0358857f0fa8a2dee42d22c100c9c69514c153e
parent364cbaf3cff70ab0b3ae228f96bf1155cb6cbe7d (diff)
fix stickiness of address fields on errors, when entering new address
-rw-r--r--httemplate/elements/tr-select-cust_location.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/elements/tr-select-cust_location.html b/httemplate/elements/tr-select-cust_location.html
index 5ff320b06..7a2d886d3 100644
--- a/httemplate/elements/tr-select-cust_location.html
+++ b/httemplate/elements/tr-select-cust_location.html
@@ -214,7 +214,7 @@ Example:
''
)
);
-% } else {
+% } elsif ( $locationnum != -1 ) {
locationnum_changed(document.getElementById('locationnum'));
% }
</SCRIPT>