mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update components
This commit is contained in:
parent
3e1f88f0b9
commit
2776720c6f
26 changed files with 291 additions and 213 deletions
|
@ -738,7 +738,7 @@
|
|||
var html = '';
|
||||
|
||||
tasks = tasks.filter(function (t) {
|
||||
return t.State != 'Idle';
|
||||
return t.State != 'Idle' && !t.IsHidden;
|
||||
});
|
||||
|
||||
if (tasks.filter(function (t) {
|
||||
|
@ -1249,7 +1249,7 @@ $(document).on('pageshowready', "#dashboardPage", DashboardPage.onPageShow).on('
|
|||
}
|
||||
|
||||
function onSocketOpen() {
|
||||
|
||||
|
||||
var apiClient = ApiClient;
|
||||
if (apiClient) {
|
||||
startListening(apiClient);
|
||||
|
|
|
@ -1375,7 +1375,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
function showMoreMenu(page) {
|
||||
function showMoreMenu(page, elem) {
|
||||
|
||||
Dashboard.getCurrentUser().done(function (user) {
|
||||
|
||||
|
@ -1401,6 +1401,7 @@
|
|||
|
||||
ActionSheetElement.show({
|
||||
items: menuItems,
|
||||
positionTo: elem,
|
||||
callback: function (id) {
|
||||
|
||||
switch (id) {
|
||||
|
@ -1499,7 +1500,7 @@
|
|||
page.querySelector('.btnMore iron-icon').icon = AppInfo.moreIcon;
|
||||
|
||||
$('.btnMore', page).on('click', function () {
|
||||
showMoreMenu(page);
|
||||
showMoreMenu(page, this);
|
||||
});
|
||||
|
||||
}).on('pageshowready', "#editItemMetadataPage", function () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue