X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fsvc_forward.cgi;h=2b9d35ad1bf92ed0f5bb4fa58d8ea18645755dd7;hb=165868b01df15958f51498f4a67117d92176680b;hp=2e6c5f1a074f1e8d68fc898c76e77752816ced03;hpb=8d581f6199c27147f417f73cc9f58260efabf327;p=freeside.git
diff --git a/httemplate/edit/svc_forward.cgi b/httemplate/edit/svc_forward.cgi
index 2e6c5f1a0..2b9d35ad1 100755
--- a/httemplate/edit/svc_forward.cgi
+++ b/httemplate/edit/svc_forward.cgi
@@ -129,15 +129,19 @@ Service: <%= $part_svc->svc %>
function srcchanged(what) {
if ( what.options[what.selectedIndex].value == 0 ) {
what.form.src.disabled = false;
+ what.form.src.style.backgroundColor = "white";
} else {
what.form.src.disabled = true;
+ what.form.src.style.backgroundColor = "lightgrey";
}
}
function dstchanged(what) {
if ( what.options[what.selectedIndex].value == 0 ) {
what.form.dst.disabled = false;
+ what.form.dst.style.backgroundColor = "white";
} else {
what.form.dst.disabled = true;
+ what.form.dst.style.backgroundColor = "lightgrey";
}
}
@@ -153,7 +157,7 @@ function dstchanged(what) {
<% } %>
<% if ( $svc_forward->dbdef_table->column('src') ) { %>
->
+>
<% } %>
@@ -164,7 +168,7 @@ function dstchanged(what) {
<% } %>
->
+>