1
0
Fork 0
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:
Luke Pulverenti 2013-08-03 10:38:56 -04:00
parent 0dc7a2177e
commit 0fde38b94f
4 changed files with 155 additions and 50 deletions

View file

@ -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;