mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-14 02:26:55 -07:00
More work on #27 Added a new notify button to the search UI (Needs styling). Also fixed a bug where if the user could only see their own requests, if they search for something that has been requested, it will show as requested.
This commit is contained in:
parent
186b18ccb9
commit
7051c31dd3
4 changed files with 83 additions and 40 deletions
|
@ -114,6 +114,10 @@ $(function () {
|
|||
var url = $form.prop('action');
|
||||
var data = $form.serialize();
|
||||
|
||||
var $notify = $('#notifyUser').is(':checked');
|
||||
|
||||
data = data + "¬ify=" + $notify;
|
||||
|
||||
sendRequestAjax(data, type, url, buttonId);
|
||||
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue