mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-20 21:33:18 -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
|
@ -704,9 +704,7 @@ DOCUMENTATION :: END
|
|||
% endif
|
||||
<script>
|
||||
$('.metadata-xml').on('tripleclick', function () {
|
||||
$.getJSON('return_plex_xml_url', {endpoint: "/library/metadata/${data['rating_key']}"}, function(xml_url) {
|
||||
window.open(xml_url, '_blank');
|
||||
});
|
||||
openPlexXML("/library/metadata/${data['rating_key']}");
|
||||
});
|
||||
|
||||
$("#airdate").html(moment($("#airdate").text()).format('MMM DD, YYYY'));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue