[freeside-commits] branch FREESIDE_4_BRANCH updated. 05fbd4d676898012b9870612e73aedb34c03ca3c
Ivan
ivan at 420.am
Sun Jun 14 14:26:21 PDT 2015
The branch, FREESIDE_4_BRANCH has been updated
via 05fbd4d676898012b9870612e73aedb34c03ca3c (commit)
from 9b02a3efca90bf10a5c91dd505d466a3ded4ec1f (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 05fbd4d676898012b9870612e73aedb34c03ca3c
Author: Ivan Kohler <ivan at freeside.biz>
Date: Sun Jun 14 14:26:21 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