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:
tidusjar 2016-04-25 13:45:22 +01:00
commit 7051c31dd3
4 changed files with 83 additions and 40 deletions

View file

@ -114,6 +114,10 @@ $(function () {
var url = $form.prop('action');
var data = $form.serialize();
var $notify = $('#notifyUser').is(':checked');
data = data + "&notify=" + $notify;
sendRequestAjax(data, type, url, buttonId);
});