diff options
author | ivan <ivan> | 2010-08-07 07:39:06 +0000 |
---|---|---|
committer | ivan <ivan> | 2010-08-07 07:39:06 +0000 |
commit | b3205ddf480401284a5fc4ccbcb45d9c42b0bcf9 (patch) | |
tree | 050841c8f10d32f58c7009890c0777ce78c017fb /httemplate/edit/process | |
parent | 82970ec1511c7bbb892eb296f3c0358480b77ba6 (diff) |
communigate phase 3: RPOP/acct_snarf, RT#7515
Diffstat (limited to 'httemplate/edit/process')
-rw-r--r-- | httemplate/edit/process/acct_snarf.html | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/httemplate/edit/process/acct_snarf.html b/httemplate/edit/process/acct_snarf.html new file mode 100644 index 000000000..332ac5228 --- /dev/null +++ b/httemplate/edit/process/acct_snarf.html @@ -0,0 +1,20 @@ +<% include( 'elements/process.html', + 'table' => 'acct_snarf', + 'redirect' => $redirect, + 'noerror_callback' => sub { + my( $cgi, $object ) = @_; + my $error = $object->svc_export; + #shit, not a good place for error handling :/ + die $error if $error; + }, + ) +%> +<%init> + +my $redirect = sub { + my($cgi, $new) = @_; + my $svcnum = $new->svcnum; + popurl(3)."browse/acct_snarf.html?svcnum=$svcnum;snarfnum="; +}; + +</%init> |