summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--httemplate/edit/cust_main/top_misc.html6
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() {