[freeside-commits] freeside/httemplate/edit router.cgi,1.9,1.10
Jeff Finucane,420,,
jeff at wavetail.420.am
Mon Oct 5 07:01:07 PDT 2009
Update of /home/cvs/cvsroot/freeside/httemplate/edit
In directory wavetail.420.am:/tmp/cvs-serv16061
Modified Files:
router.cgi
Log Message:
low hanging fruit: restore router virtual fields (and svcnum) in 1.9 RT#5960
Index: router.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/router.cgi,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- router.cgi 3 Sep 2008 19:08:28 -0000 1.9
+++ router.cgi 5 Oct 2009 14:01:05 -0000 1.10
@@ -10,10 +10,12 @@
'fields' => [
{ 'field'=>'routername', 'type'=>'text', 'size'=>32 },
{ 'field'=>'agentnum', 'type'=>'select-agent' },
+ { 'field'=>'svcnum', 'type'=>'hidden' },
],
'error_callback' => $callback,
'edit_callback' => $callback,
'new_callback' => $callback,
+ 'html_table_bottom' => $html_table_bottom,
)
%>
<%init>
@@ -41,4 +43,11 @@
}
};
+my $html_table_bottom = sub {
+ my $router = shift;
+ foreach my $field ($router->virtual_fields) {
+ $html .= $router->pvf($field)->widget('HTML', 'edit', $router->get($field));
+ }
+ $html;
+};
</%init>
More information about the freeside-commits
mailing list