projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
why wouldn't we want to hide the whole thing rather than leave a big blank gap?
[freeside.git]
/
httemplate
/
edit
/
cust_main.cgi
diff --git
a/httemplate/edit/cust_main.cgi
b/httemplate/edit/cust_main.cgi
index
069414b
..
d4129a3
100755
(executable)
--- a/
httemplate/edit/cust_main.cgi
+++ b/
httemplate/edit/cust_main.cgi
@@
-97,18
+97,16
@@
<SCRIPT>
function samechanged(what) {
<SCRIPT>
function samechanged(what) {
-%# not display = 'none', because we still want it to take up space
%# document.getElementById('table_ship_location').style.visibility =
%# document.getElementById('table_ship_location').style.visibility =
-%# what.checked ? 'hidden' : 'visible';
var t1 = document.getElementById('table_ship_location');
if ( what.checked ) {
var t1 = document.getElementById('table_ship_location');
if ( what.checked ) {
- t1.style.
visibility = 'hidden
';
+ t1.style.
display = 'none
';
}
else {
}
else {
- t1.style.
visibility = 'visible
'
+ t1.style.
display = '
'
}
}
}
}
-
//
samechanged(document.getElementById('same'));
+samechanged(document.getElementById('same'));
</SCRIPT>
<BR>
</SCRIPT>
<BR>