Loading registered devices...
@@ -2773,20 +2773,26 @@ $(document).ready(function() {
$('#allow_guest_access').click(function () {
newsletterPasswordEnabled();
- })
+ });
+
+ function gotoSetting(tab, setting){
+ $("a[href=#tabs-" + tab + "]").click();
+ if (setting) {
+ _setting = '#' + setting;
+ if ($(_setting).closest('.advanced-setting').length && !$('#menu_link_show_advanced_settings').hasClass('active')) {
+ $('#menu_link_show_advanced_settings').click()
+ }
+ var body_container = $('.body-container');
+ var scroll_pos = setting ? body_container.scrollTop() + $(_setting).offset().top - 100 : 0;
+ body_container.animate({scrollTop: scroll_pos});
+ $(_setting).closest('.form-group, .checkbox').delay(500).fadeOut().fadeIn('slow').fadeOut().fadeIn('slow');
+ }
+ }
$('body').on('click', 'a[data-tab-destination]', function () {
var tab = $(this).data('tab-destination');
- $("a[href=#" + tab + "]").click();
- var scroll_destination = $(this).data('target');
- if (scroll_destination) {
- if ($(scroll_destination).closest('.advanced-setting').length && !$('#menu_link_show_advanced_settings').hasClass('active')) {
- $('#menu_link_show_advanced_settings').click()
- }
- var body_container = $('.body-container')
- var scroll_pos = scroll_destination ? body_container.scrollTop() + $(scroll_destination).offset().top - 100 : 0;
- body_container.animate({scrollTop: scroll_pos});
- }
+ var setting = $(this).data('target');
+ gotoSetting(tab, setting)
});
$('#resources-xml').on('tripleclick', function () {
diff --git a/plexpy/notifiers.py b/plexpy/notifiers.py
index e2dad604..c7d61379 100644
--- a/plexpy/notifiers.py
+++ b/plexpy/notifiers.py
@@ -999,8 +999,8 @@ class ANDROIDAPP(Notifier):
config_option.append({
'label': 'Device',
'description': 'No devices registered. '
- '
Get the Android App and register a device.',
+ '
'
+ 'Get the Android App and register a device.',
'input_type': 'help'
})
else:
@@ -1009,8 +1009,8 @@ class ANDROIDAPP(Notifier):
'value': self.config['device_id'],
'name': 'androidapp_device_id',
'description': 'Set your Android app device or '
- '
register a new device with Tautulli.',
+ '
'
+ 'register a new device with Tautulli.',
'input_type': 'select',
'select_options': devices
})
@@ -1264,8 +1264,8 @@ class DISCORD(Notifier):
'value': self.config['incl_card'],
'name': 'discord_incl_card',
'description': 'Include an info card with a poster and metadata with the notifications.
'
- 'Note:
Image Hosting '
+ 'Note:
Image Hosting '
'must be enabled under the notifications settings tab.',
'input_type': 'checkbox'
},
@@ -1639,8 +1639,8 @@ class FACEBOOK(Notifier):
'value': self.config['incl_card'],
'name': 'facebook_incl_card',
'description': 'Include an info card with a poster and metadata with the notifications.
'
- 'Note:
Image Hosting '
+ 'Note:
Image Hosting '
'must be enabled under the notifications settings tab.',
'input_type': 'checkbox'
},
@@ -1962,8 +1962,8 @@ class HIPCHAT(Notifier):
'value': self.config['incl_card'],
'name': 'hipchat_incl_card',
'description': 'Include an info card with a poster and metadata with the notifications.
'
- 'Note:
Image Hosting '
+ 'Note:
Image Hosting '
'must be enabled under the notifications settings tab.
'
'Note: This will change the notification type to HTML and emoticons will no longer work.',
'input_type': 'checkbox'
@@ -2184,8 +2184,8 @@ class JOIN(Notifier):
'value': self.config['incl_poster'],
'name': 'join_incl_poster',
'description': 'Include a poster with the notifications.
'
- 'Note:
Image Hosting '
+ 'Note:
Image Hosting '
'must be enabled under the notifications settings tab.',
'input_type': 'checkbox'
},
@@ -3348,8 +3348,8 @@ class SLACK(Notifier):
'value': self.config['incl_card'],
'name': 'slack_incl_card',
'description': 'Include an info card with a poster and metadata with the notifications.
'
- 'Note:
Image Hosting '
+ 'Note:
Image Hosting '
'must be enabled under the notifications settings tab.',
'input_type': 'checkbox'
},
@@ -3593,8 +3593,8 @@ class TWITTER(Notifier):
'value': self.config['incl_poster'],
'name': 'twitter_incl_poster',
'description': 'Include a poster with the notifications.
'
- 'Note:
Image Hosting '
+ 'Note:
Image Hosting '
'must be enabled under the notifications settings tab.',
'input_type': 'checkbox'
}