[freeside-commits] freeside/httemplate/edit/process cgp_rule.html, 1.3, 1.4

Ivan,,, ivan at wavetail.420.am
Sun Jun 6 19:39:43 PDT 2010


Update of /home/cvs/cvsroot/freeside/httemplate/edit/process
In directory wavetail.420.am:/tmp/cvs-serv2861/httemplate/edit/process

Modified Files:
	cgp_rule.html 
Log Message:
domain rules based on templates (rules from other domains), RT#7514

Index: cgp_rule.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/process/cgp_rule.html,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -w -d -r1.3 -r1.4
--- cgp_rule.html	7 Jun 2010 00:10:25 -0000	1.3
+++ cgp_rule.html	7 Jun 2010 02:39:35 -0000	1.4
@@ -11,6 +11,12 @@
                   'fields' => [qw( action params )],
                 },
               ],
+              'noerror_callback' => sub {
+                my( $cgi, $object ) = @_;
+                my $error = $object->svc_export;
+                #shit, not a good place for error handling :/
+                die $error if $error;
+              },
           )
 %>
 <%init>



More information about the freeside-commits mailing list