mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update directoryBrowser
This commit is contained in:
parent
3dbde84cda
commit
db88b76db6
6 changed files with 45 additions and 12 deletions
|
@ -81,6 +81,12 @@
|
|||
html += '</div>';
|
||||
}
|
||||
|
||||
if (tuners.length) {
|
||||
page.querySelector('.tunerSection').classList.remove('hide');
|
||||
} else {
|
||||
page.querySelector('.tunerSection').classList.add('hide');
|
||||
}
|
||||
|
||||
var elem = $('.tunerList', page).html(html);
|
||||
|
||||
$('.btnResetTuner', elem).on('click', function () {
|
||||
|
@ -493,6 +499,22 @@
|
|||
|
||||
reload(page);
|
||||
|
||||
// on here
|
||||
$('.btnRefresh', page).taskButton({
|
||||
mode: 'on',
|
||||
progressElem: page.querySelector('.refreshGuideProgress'),
|
||||
taskKey: 'RefreshGuide'
|
||||
});
|
||||
|
||||
}).on('pagehide', "#liveTvStatusPage", function () {
|
||||
|
||||
var page = this;
|
||||
|
||||
// off here
|
||||
$('.btnRefreshGuide', page).taskButton({
|
||||
mode: 'off'
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
})(jQuery, document, window);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue