From 85f129c7381748c5e2343c1e6dcd32deb18a0b36 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Sun, 23 Jun 2013 11:02:53 -0400 Subject: [PATCH] fixes #358 - Weather validation in Server configuration --- ApiClient.js | 18 ------------------ dashboard-ui/clientsettings.html | 14 -------------- dashboard-ui/scripts/clientsettings.js | 4 ---- packages.config | 2 +- 4 files changed, 1 insertion(+), 37 deletions(-) diff --git a/ApiClient.js b/ApiClient.js index 31d11c9451..f047501d29 100644 --- a/ApiClient.js +++ b/ApiClient.js @@ -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 */ diff --git a/dashboard-ui/clientsettings.html b/dashboard-ui/clientsettings.html index 6f1fa13e24..af0a25e0cf 100644 --- a/dashboard-ui/clientsettings.html +++ b/dashboard-ui/clientsettings.html @@ -11,20 +11,6 @@