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

fixes #358 - Weather validation in Server configuration

This commit is contained in:
Luke Pulverenti 2013-06-23 11:02:53 -04:00
parent 2819522ca5
commit 85f129c738
4 changed files with 1 additions and 37 deletions

View file

@ -1245,24 +1245,6 @@ MediaBrowser.ApiClient = function ($, navigator, JSON, WebSocket, setTimeout) {
});
};
/**
* Gets weather info
* @param {String} location - us zip code / city, state, country / city, country
* Omit location to get weather info using stored server configuration value
*/
self.getWeatherInfo = function (location) {
var url = self.getUrl("weather", {
location: location
});
return self.ajax({
type: "GET",
url: url,
dataType: "json"
});
};
/**
* Gets all users from the server
*/