mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-14 02:26:58 -07:00
Refactor open Plex XML script
This commit is contained in:
parent
c85af521fe
commit
54f4696713
4 changed files with 11 additions and 10 deletions
|
@ -2755,9 +2755,7 @@ $(document).ready(function() {
|
|||
});
|
||||
|
||||
$('#resources-xml').on('tripleclick', function () {
|
||||
$.getJSON('return_plex_xml_url', {endpoint: '/api/resources', plextv: true, includeHttps: 1}, function(xml_url) {
|
||||
window.open(xml_url, '_blank');
|
||||
});
|
||||
openPlexXML('/api/resources', true, {includeHttps: 1});
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue