update to latest js apiclient

This commit is contained in:
LukePulverenti
2013-03-21 16:43:42 -04:00
parent db20e9e3ea
commit 4bc27f3a65
6 changed files with 10 additions and 7 deletions

View File

@@ -46,6 +46,9 @@ MediaBrowser.ApiClient = function ($, navigator) {
}
};
/**
* Wraps around jQuery ajax methods to add additional info to the request.
*/
self.ajax = function (request) {
if (!request) {
@@ -834,7 +837,7 @@ MediaBrowser.ApiClient = function ($, navigator) {
/**
* Gets all users from the server
*/
self.getAllUsers = function () {
self.getUsers = function () {
var url = self.getUrl("users");