diff options
| author | Mark Wells <mark@freeside.biz> | 2013-03-15 16:13:46 -0700 |
|---|---|---|
| committer | Mark Wells <mark@freeside.biz> | 2013-03-15 16:13:46 -0700 |
| commit | 562dc0428613576947db0504bf0a7faad1a075b4 (patch) | |
| tree | b3ab314402efb77ba81dcf159f2c24cb7ecc08a1 | |
| parent | ee03481c8c481352142b3fa98c412dea94b3cb29 (diff) | |
fix editing of service address fields, from #21327
| -rw-r--r-- | httemplate/edit/cust_main/top_misc.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/httemplate/edit/cust_main/top_misc.html b/httemplate/edit/cust_main/top_misc.html index 0bdcae0f9..6306000d3 100644 --- a/httemplate/edit/cust_main/top_misc.html +++ b/httemplate/edit/cust_main/top_misc.html @@ -27,12 +27,12 @@ function agent_changed(what) { } else { for(var i=0; i<ship_fields.length; i++) { x = ship_fields[i]; - f['ship_'+x].value = ''; + if ( f['ship_'+x].disabled ) { + f['ship_'+x].value = ''; + } f['ship_'+x].disabled = false; } - f['same'].checked = true; f['same'].disabled = false; - samechanged(f['same']); } } window.onload = function() { |
