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:25:59 -0700 |
| commit | 87194c546606205e78e36f99ec1f2ae6f0a9cafc (patch) | |
| tree | 08fe22e3bf25a0ffbde7257675c617db9a55e42d /httemplate/edit/process | |
| parent | 4b75f33fd6c2d0fecf8714f588f2d6d200aa4d47 (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> |
