why wouldn't we want to hide the whole thing rather than leave a big blank gap?
authorIvan Kohler <ivan@freeside.biz>
Sun, 14 Jun 2015 21:26:45 +0000 (14:26 -0700)
committerIvan Kohler <ivan@freeside.biz>
Sun, 14 Jun 2015 21:26:45 +0000 (14:26 -0700)
httemplate/edit/cust_main.cgi

index d4129a3..d203e00 100755 (executable)
 
 <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 = ''
   }
 }