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

update dlna profiles

This commit is contained in:
Luke Pulverenti 2015-02-06 22:25:23 -05:00
parent 94988219d3
commit 0daa91e419
7 changed files with 26 additions and 13 deletions

View file

@ -2799,17 +2799,13 @@
*/
self.getItems = function (userId, options) {
if (!userId) {
throw new Error("null userId");
}
var url;
if ((typeof userId).toString().toLowerCase() == 'string') {
url = self.getUrl("Users/" + userId + "/Items", options);
} else {
options = userId;
url = self.getUrl("Items", options || {});
url = self.getUrl("Items", options);
}
return self.ajax({