diff options
| author | Mark Wells <mark@freeside.biz> | 2016-09-08 11:25:59 -0700 |
|---|---|---|
| committer | Mark Wells <mark@freeside.biz> | 2016-09-08 11:31:17 -0700 |
| commit | 9cb01b1aed97bcbe897e779dc268800a2b1538ae (patch) | |
| tree | f66df1c5e6f89a305bfcd1ca70c3ea8450c58ca5 /httemplate/edit/process | |
| parent | 4496a23e58b830db4c2d10ad17dfb0d531b15859 (diff) | |
add UI to manage saved searches, #72101
Diffstat (limited to 'httemplate/edit/process')
| -rw-r--r-- | httemplate/edit/process/saved_search.html | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/httemplate/edit/process/saved_search.html b/httemplate/edit/process/saved_search.html new file mode 100644 index 000000000..7ae7e0d78 --- /dev/null +++ b/httemplate/edit/process/saved_search.html @@ -0,0 +1,15 @@ +<& 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 +}; + +</%init> |
