projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee03481
)
fix editing of service address fields, from #21327
author
Mark Wells
<mark@freeside.biz>
Fri, 15 Mar 2013 23:13:46 +0000
(16:13 -0700)
committer
Mark Wells
<mark@freeside.biz>
Fri, 15 Mar 2013 23:13:46 +0000
(16:13 -0700)
httemplate/edit/cust_main/top_misc.html
patch
|
blob
|
history
diff --git
a/httemplate/edit/cust_main/top_misc.html
b/httemplate/edit/cust_main/top_misc.html
index
0bdcae0
..
6306000
100644
(file)
--- 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() {