summaryrefslogtreecommitdiff
path: root/httemplate/edit/process/cgp_rule.html
diff options
context:
space:
mode:
authorivan <ivan>2010-06-07 02:40:15 +0000
committerivan <ivan>2010-06-07 02:40:15 +0000
commit0fe2d918669fe77298f95335958edf596a5f9149 (patch)
tree03024ee3d4058554a787822b7ccf4d6ddfd2005e /httemplate/edit/process/cgp_rule.html
parentd5f11772496be17d55ed3f7f26d19d3576f9d2be (diff)
domain rules based on templates (rules from other domains), RT#7514
Diffstat (limited to 'httemplate/edit/process/cgp_rule.html')
-rw-r--r--httemplate/edit/process/cgp_rule.html6
1 files changed, 6 insertions, 0 deletions
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>