summaryrefslogtreecommitdiff
path: root/httemplate/edit/process
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2016-09-08 11:25:59 -0700
committerMark Wells <mark@freeside.biz>2016-09-08 11:25:59 -0700
commit87194c546606205e78e36f99ec1f2ae6f0a9cafc (patch)
tree08fe22e3bf25a0ffbde7257675c617db9a55e42d /httemplate/edit/process
parent4b75f33fd6c2d0fecf8714f588f2d6d200aa4d47 (diff)
add UI to manage saved searches, #72101
Diffstat (limited to 'httemplate/edit/process')
-rw-r--r--httemplate/edit/process/saved_search.html15
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>