From 1c82241f30d04cefff1ef9f9aba032471ee34ce2 Mon Sep 17 00:00:00 2001 From: JonnyWong16 Date: Sat, 23 Jan 2016 16:23:20 -0800 Subject: [PATCH] Fix notifier config ajax calls for reverse proxies --- data/interfaces/default/notification_config.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/data/interfaces/default/notification_config.html b/data/interfaces/default/notification_config.html index d362ef70..6ae4a0c6 100644 --- a/data/interfaces/default/notification_config.html +++ b/data/interfaces/default/notification_config.html @@ -143,7 +143,7 @@ from plexpy import helpers $('#osxnotifyregister').click(function () { var osx_notify_app = $('#osx_notify_app').val(); - $.get('/osxnotifyregister', { 'app': osx_notify_app }, function (data) { showMsg(' ' + data, false, true, 3000); }); + $.get('osxnotifyregister', { 'app': osx_notify_app }, function (data) { showMsg(' ' + data, false, true, 3000); }); }) $('#save-notification-item').click(function () { @@ -163,12 +163,12 @@ from plexpy import helpers }); $('#twitterStep1').click(function () { - $.get('/twitterStep1', function (data) {window.open(data); }) + $.get('twitterStep1', function (data) {window.open(data); }) .done(function () { showMsg(' Confirm Authorization. Check pop-up blocker if no response.', false, true, 3000); }); }); $('#twitterStep2').click(function () { var twitter_key = $('#twitter_key').val(); - $.get('/twitterStep2', { 'key': twitter_key }, function (data) { showMsg(' ' + data, false, true, 3000); }); + $.get('twitterStep2', { 'key': twitter_key }, function (data) { showMsg(' ' + data, false, true, 3000); }); }); function disableFacebookRequest() { @@ -182,7 +182,7 @@ from plexpy import helpers $('#facebookStep1').click(function () { doAjaxCall('set_notification_config', $(this), 'tabs', true); - $.get('/facebookStep1', function (data) { window.open(data); }) + $.get('facebookStep1', function (data) { window.open(data); }) .done(function () { showMsg(' Confirm Authorization. Check pop-up blocker if no response.', false, true, 3000); }); });