Commit 9484fc16 authored by echel0n's avatar echel0n

Refactored saveShowNotifyList JS POST to GET

parent 5fd62e07
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -4476,13 +4476,15 @@ $(document).ready(function ($) {
SICKRAGE.config.notifications.load_show_notify_lists();
$('#email_show_save').click(function () {
$.post(SICKRAGE.srWebRoot + "/home/saveShowNotifyList", {
show: $('#email_show').val(),
emails: $('#email_show_list').val()
}, function () {
// Reload the per show notify lists to reflect changes
SICKRAGE.config.notifications.load_show_notify_lists();
});
$.get(SICKRAGE.srWebRoot + "/home/saveShowNotifyList",
{
'show': $('#email_show').val(),
'emails': $('#email_show_list').val()
})
.done(function () {
// Reload the per show notify lists to reflect changes
SICKRAGE.config.notifications.load_show_notify_lists();
});
});
// show instructions for plex when enabled
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment