fix stickiness of address fields on errors, when entering new address
authorIvan Kohler <ivan@freeside.biz>
Mon, 18 Sep 2017 21:58:25 +0000 (14:58 -0700)
committerIvan Kohler <ivan@freeside.biz>
Mon, 18 Sep 2017 21:58:25 +0000 (14:58 -0700)
httemplate/elements/tr-select-cust_location.html

index 5ff320b..7a2d886 100644 (file)
@@ -214,7 +214,7 @@ Example:
                                         ''
                                       )
                    );
                                         ''
                                       )
                    );
-% } else {
+% } elsif ( $locationnum != -1 ) {
     locationnum_changed(document.getElementById('locationnum'));
 % }
 </SCRIPT>
     locationnum_changed(document.getElementById('locationnum'));
 % }
 </SCRIPT>