mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-06 21:21:15 -07:00
Add advanced config setting to enable Plex XML shortcuts
This commit is contained in:
parent
f8048a01a6
commit
16f20c941c
3 changed files with 7 additions and 1 deletions
|
@ -557,7 +557,9 @@ $.fn.slideToggleBool = function(bool, options) {
|
|||
function openPlexXML(endpoint, plextv, params) {
|
||||
var data = $.extend({endpoint: endpoint, plextv: plextv}, params);
|
||||
$.getJSON('return_plex_xml_url', data, function(xml_url) {
|
||||
window.open(xml_url, '_blank');
|
||||
if (xml_url) {
|
||||
window.open(xml_url, '_blank');
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue