summaryrefslogtreecommitdiff
path: root/httemplate/edit/cust_main/top_misc.html
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/edit/cust_main/top_misc.html')
-rw-r--r--httemplate/edit/cust_main/top_misc.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/httemplate/edit/cust_main/top_misc.html b/httemplate/edit/cust_main/top_misc.html
index e25506f52..f3fde53fa 100644
--- a/httemplate/edit/cust_main/top_misc.html
+++ b/httemplate/edit/cust_main/top_misc.html
@@ -27,11 +27,13 @@
if ( what.checked == (what.value == 'Commercial' ) ) {
document.getElementById('company_row').style.display = '';
document.getElementById('contacts_div').style.display = '';
+ document.getElementById('spouse_row').style.display = 'none';
} else {
if ( document.getElementById('company').value.length == 0 ) {
document.getElementById('company_row').style.display = 'none';
}
document.getElementById('contacts_div').style.display = 'none';
+ document.getElementById('spouse_row').style.display = '';
}
}