1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

run all ajax through apiclient

This commit is contained in:
Luke Pulverenti 2014-07-02 01:16:59 -04:00
parent 683e6f472c
commit db0a6eb632
28 changed files with 55 additions and 46 deletions

View file

@ -42,7 +42,7 @@
var channelId = getParameterByName('id');
$.getJSON(ApiClient.getUrl("Channels/" + channelId + "/Features", query)).done(function (features) {
ApiClient.getJSON(ApiClient.getUrl("Channels/" + channelId + "/Features", query)).done(function (features) {
if (features.CanFilter) {
@ -121,7 +121,7 @@
query.folderId = folderId;
$.getJSON(ApiClient.getUrl("Channels/" + channelId + "/Items", query)).done(function (result) {
ApiClient.getJSON(ApiClient.getUrl("Channels/" + channelId + "/Items", query)).done(function (result) {
// Scroll back up so they can see the results from the beginning
$(document).scrollTop(0);