diff options
author | Ivan Kohler <ivan@freeside.biz> | 2015-06-14 14:26:45 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2015-06-14 14:26:45 -0700 |
commit | a5ebbe70342d11b17754ac95d00d6b71df0cd632 (patch) | |
tree | 11dfe88ce023493f9d6296e43e70125ff9d03505 /httemplate/edit/cust_main.cgi | |
parent | 0f57e99bd0af253afa16e20f1141afee851b8d5a (diff) |
why wouldn't we want to hide the whole thing rather than leave a big blank gap?
Diffstat (limited to 'httemplate/edit/cust_main.cgi')
-rwxr-xr-x | httemplate/edit/cust_main.cgi | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/httemplate/edit/cust_main.cgi b/httemplate/edit/cust_main.cgi index d4129a37c..d203e0044 100755 --- a/httemplate/edit/cust_main.cgi +++ b/httemplate/edit/cust_main.cgi @@ -97,12 +97,10 @@ <SCRIPT> function samechanged(what) { -%# document.getElementById('table_ship_location').style.visibility = var t1 = document.getElementById('table_ship_location'); if ( what.checked ) { t1.style.display = 'none'; - } - else { + } else { t1.style.display = '' } } |