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

First level of ratings and reviews

This commit is contained in:
Eric Reed 2013-11-07 12:27:05 -05:00
parent 7614d695d9
commit 75b5f25694
7 changed files with 203 additions and 7 deletions

View file

@ -3569,6 +3569,16 @@ MediaBrowser.ApiClient = function ($, navigator, JSON, WebSocket, setTimeout, wi
url: url
});
};
self.createPackageReview = function(review) {
var url = self.getUrl("PackageReviews/" + review.id, review);
return self.ajax({
type: "POST",
url: url,
});
};
}
}(jQuery, navigator, window.JSON, window.WebSocket, setTimeout, window);