mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
added methods to edit ibn images
This commit is contained in:
parent
0dc7a2177e
commit
0fde38b94f
4 changed files with 155 additions and 50 deletions
|
@ -65,9 +65,6 @@
|
|||
|
||||
if (elem) {
|
||||
elem.scrollIntoView();
|
||||
|
||||
var sidebar = $('.editPageSidebar', page);
|
||||
sidebar.scrollTop(sidebar.scrollTop() - sidebar.height() / 3);
|
||||
}
|
||||
|
||||
$(document).scrollTop(0);
|
||||
|
@ -121,10 +118,7 @@
|
|||
|
||||
if (id) {
|
||||
|
||||
$.getJSON(ApiClient.getUrl("Items/" + id + "/Ancestors", {
|
||||
userId: Dashboard.getCurrentUserId()
|
||||
|
||||
})).done(function (ancestors) {
|
||||
ApiClient.getAncestorItems(id, Dashboard.getCurrentUserId()).done(function (ancestors) {
|
||||
|
||||
var ids = ancestors.map(function (i) {
|
||||
return i.Id;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue