projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
address standardization, part 2
[freeside.git]
/
httemplate
/
edit
/
cust_main.cgi
diff --git
a/httemplate/edit/cust_main.cgi
b/httemplate/edit/cust_main.cgi
index
2593201
..
ee8d1b1
100755
(executable)
--- a/
httemplate/edit/cust_main.cgi
+++ b/
httemplate/edit/cust_main.cgi
@@
-107,12
+107,14
@@
function samechanged(what) {
}
}
}
}
-% if ( ! $has_ship_address ) {
- $('#ship_location').hide();
-% }
-
$().ready( function() {
$().ready( function() {
- window.bill_location = new Location($('fieldset#bill_location'));
+ window.bill_location = new Location($('fieldset#bill_location'), 'bill_');
+ window.ship_location = new Location($('fieldset#ship_location'), 'ship_');
+
+ if ($('#same').prop('checked')) {
+ $('#ship_location').hide();
+ }
+
});
</SCRIPT>
});
</SCRIPT>