[freeside-commits] freeside/httemplate/edit svc_dsl.cgi,1.10,1.11
Ivan,,,
ivan at wavetail.420.am
Sun Oct 30 13:58:49 PDT 2011
Update of /home/cvs/cvsroot/freeside/httemplate/edit
In directory wavetail.420.am:/tmp/cvs-serv16892/httemplate/edit
Modified Files:
svc_dsl.cgi
Log Message:
add svc_dsl.gateway_access_number
Index: svc_dsl.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/svc_dsl.cgi,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -w -d -r1.10 -r1.11
--- svc_dsl.cgi 29 Apr 2011 14:20:37 -0000 1.10
+++ svc_dsl.cgi 30 Oct 2011 20:58:47 -0000 1.11
@@ -24,11 +24,16 @@
function ikano_loop_type_changed() {
var loop_type = document.getElementById('loop_type').value;
var phonenum = document.getElementById('phonenum');
+ var gateway_access_number = document.getElementById('gateway_access_number');
if(loop_type == '0') {
phonenum.value = '';
phonenum.disabled = true;
+ gateway_access_number.value = '';
+ gateway_access_number.disabled = true;
+ } else {
+ phonenum.disabled = false;
+ gateway_access_number.disabled = false;
}
- else phonenum.disabled = false;
}
</SCRIPT>
"; };
@@ -58,7 +63,7 @@
# else add any other export-specific stuff here
}
else {
- push @fields, qw( first last company phonenum circuitnum rate_band vpi vci );
+ push @fields, qw( first last company phonenum gateway_access_number circuitnum rate_band vpi vci );
}
};
@@ -123,6 +128,10 @@
{ field => 'phonenum',
value => $phonenum,
};
+ { field => 'gateway_access_number',
+ value => '',
+ };
+
}
More information about the freeside-commits
mailing list