update to latest js apiclient

pull/702/head
LukePulverenti 12 years ago
parent db20e9e3ea
commit 4bc27f3a65

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

@ -3,7 +3,7 @@
onPageShow: function () {
Dashboard.showLoadingMsg();
ApiClient.getAllUsers().done(LoginPage.loadUserList);
ApiClient.getUsers().done(LoginPage.loadUserList);
},
getLastSeenText: function (lastActivityDate) {

@ -7,7 +7,7 @@
loadPageData: function () {
Dashboard.showLoadingMsg();
ApiClient.getAllUsers().done(UserProfilesPage.renderUsers);
ApiClient.getUsers().done(UserProfilesPage.renderUsers);
},
renderUsers: function (users) {

@ -2,7 +2,7 @@
gotoNextPage: function () {
ApiClient.getAllUsers().done(function (users) {
ApiClient.getUsers().done(function (users) {
if (users.length > 1) {

@ -6,7 +6,7 @@
var page = this;
ApiClient.getAllUsers().done(function (users) {
ApiClient.getUsers().done(function (users) {
var user = users[0] || { Name: "User" };
@ -23,7 +23,7 @@
var page = $.mobile.activePage;
ApiClient.getAllUsers().done(function (users) {
ApiClient.getUsers().done(function (users) {
var user;

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="MediaBrowser.ApiClient.Javascript" version="3.0.49" targetFramework="net45" />
<package id="MediaBrowser.ApiClient.Javascript" version="3.0.50" targetFramework="net45" />
<package id="ServiceStack" version="3.9.40" targetFramework="net45" />
<package id="ServiceStack.Common" version="3.9.40" targetFramework="net45" />
<package id="ServiceStack.OrmLite.SqlServer" version="3.9.41" targetFramework="net45" />

Loading…
Cancel
Save