[freeside-commits] freeside/httemplate/edit svc_broadband.cgi, 1.24.2.5, 1.24.2.6
Mark Wells
mark at wavetail.420.am
Mon Jan 23 12:57:07 PST 2012
Update of /home/cvs/cvsroot/freeside/httemplate/edit
In directory wavetail.420.am:/tmp/cvs-serv12990/httemplate/edit
Modified Files:
Tag: FREESIDE_2_3_BRANCH
svc_broadband.cgi
Log Message:
clean up fix on #16137
Index: svc_broadband.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/svc_broadband.cgi,v
retrieving revision 1.24.2.5
retrieving revision 1.24.2.6
diff -u -w -d -r1.24.2.5 -r1.24.2.6
--- svc_broadband.cgi 19 Jan 2012 02:15:17 -0000 1.24.2.5
+++ svc_broadband.cgi 23 Jan 2012 20:57:05 -0000 1.24.2.6
@@ -6,6 +6,7 @@
'field_callback' => $field_callback,
'svc_new_callback' => $svc_edit_callback,
'svc_edit_callback' => $svc_edit_callback,
+ 'svc_error_callback' => $svc_edit_callback,
'dummy' => $cgi->query_string,
'onsubmit' => 'validate_coords',
'html_foot' => $js,
@@ -167,13 +168,6 @@
my $field_callback = sub {
my ($cgi, $object, $fieldref) = @_;
- unless ( $part_svc ) {
- my $svcpart = $object->svcnum ? $object->cust_svc->svcpart
- : $cgi->param('svcpart');
- $part_svc = qsearchs( 'part_svc', { svcpart => $svcpart } );
- die "No part_svc entry for svcpart $svcpart!" unless $part_svc;
- }
-
my $columndef = $part_svc->part_svc_column($fieldref->{'field'});
if ($columndef->columnflag eq 'F') {
$fieldref->{'type'} = length($columndef->columnvalue)
More information about the freeside-commits
mailing list