[freeside-commits] branch master updated. 0f57e99bd0af253afa16e20f1141afee851b8d5a

Ivan ivan at 420.am
Sun Jun 14 14:26:20 PDT 2015


The branch, master has been updated
       via  0f57e99bd0af253afa16e20f1141afee851b8d5a (commit)
      from  506de9ec7d74b35d2bed671526a4363d022026b1 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 0f57e99bd0af253afa16e20f1141afee851b8d5a
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Sun Jun 14 14:26:19 2015 -0700

    why wouldn't we want to hide the whole thing rather than leave a big blank gap?

diff --git a/httemplate/edit/cust_main.cgi b/httemplate/edit/cust_main.cgi
index 877d1e8..d4129a3 100755
--- a/httemplate/edit/cust_main.cgi
+++ b/httemplate/edit/cust_main.cgi
@@ -97,15 +97,13 @@
 
 <SCRIPT>
 function samechanged(what) {
-%# not display = 'none', because we still want it to take up space
 %#  document.getElementById('table_ship_location').style.visibility = 
-%#    what.checked ? 'hidden' : 'visible';
   var t1 = document.getElementById('table_ship_location');
   if ( what.checked ) {
-    t1.style.visibility = 'hidden';
+    t1.style.display = 'none';
   }
   else {
-    t1.style.visibility = 'visible'
+    t1.style.display = ''
   }
 }
 samechanged(document.getElementById('same'));

-----------------------------------------------------------------------

Summary of changes:
 httemplate/edit/cust_main.cgi |    6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)




More information about the freeside-commits mailing list