From 31a9c95e5b7125ef666248699fff31f1f8211364 Mon Sep 17 00:00:00 2001 From: ivan Date: Mon, 7 Jun 2010 02:39:35 +0000 Subject: domain rules based on templates (rules from other domains), RT#7514 --- httemplate/edit/process/cgp_rule.html | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'httemplate/edit/process/cgp_rule.html') diff --git a/httemplate/edit/process/cgp_rule.html b/httemplate/edit/process/cgp_rule.html index 965341384..5326587cb 100644 --- a/httemplate/edit/process/cgp_rule.html +++ b/httemplate/edit/process/cgp_rule.html @@ -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> -- cgit v1.2.1