summaryrefslogtreecommitdiff
path: root/httemplate/edit/process/saved_search.html
blob: 51e40edad7addea4149811e0eb1e9bf8a952c953 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<& elements/process.html,
  'table'         => 'saved_search',
  'popup_reload'  => 'Saving',
  'post_new_object_callback' => $callback,
&>
<%init>

my $callback = sub {
  my ($cgi, $obj) = @_;
  $obj->usernum( $FS::CurrentUser::CurrentUser->usernum );
  # if this would change it from its existing owner, replace_check
  # will refuse

  ''; #no error
};

</%init>