diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-04-18 13:10:23 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-04-18 13:10:23 -0400 |
| commit | 8ec2392590d378a0c316e9be4c54c44721f227d1 (patch) | |
| tree | e123c676433b564af498abc13c1e88f0ecf3d9b2 | |
| parent | fe3963ae0df65d1597d3886cdf935f3b1d70a31d (diff) | |
update to latest js apiclient
| -rw-r--r-- | MediaBrowser.WebDashboard/ApiClient.js | 51 | ||||
| -rw-r--r-- | MediaBrowser.WebDashboard/packages.config | 2 |
2 files changed, 16 insertions, 37 deletions
diff --git a/MediaBrowser.WebDashboard/ApiClient.js b/MediaBrowser.WebDashboard/ApiClient.js index bb8de833a5..fe676abaf5 100644 --- a/MediaBrowser.WebDashboard/ApiClient.js +++ b/MediaBrowser.WebDashboard/ApiClient.js @@ -349,8 +349,7 @@ MediaBrowser.ApiClient = function ($, navigator, JSON, WebSocket, setTimeout) { return self.ajax({ type: "DELETE", - url: url, - dataType: "json" + url: url }); }; @@ -549,8 +548,7 @@ MediaBrowser.ApiClient = function ($, navigator, JSON, WebSocket, setTimeout) { return self.ajax({ type: "DELETE", - url: url, - dataType: "json" + url: url }); }; @@ -604,8 +602,7 @@ MediaBrowser.ApiClient = function ($, navigator, JSON, WebSocket, setTimeout) { return self.ajax({ type: "DELETE", - url: url, - dataType: "json" + url: url }); }; @@ -626,8 +623,7 @@ MediaBrowser.ApiClient = function ($, navigator, JSON, WebSocket, setTimeout) { return self.ajax({ type: "DELETE", - url: url, - dataType: "json" + url: url }); }; @@ -722,8 +718,7 @@ MediaBrowser.ApiClient = function ($, navigator, JSON, WebSocket, setTimeout) { return self.ajax({ type: "DELETE", - url: url, - dataType: "json" + url: url }); }; @@ -741,8 +736,7 @@ MediaBrowser.ApiClient = function ($, navigator, JSON, WebSocket, setTimeout) { return self.ajax({ type: "DELETE", - url: url, - dataType: "json" + url: url }); }; @@ -765,8 +759,7 @@ MediaBrowser.ApiClient = function ($, navigator, JSON, WebSocket, setTimeout) { return self.ajax({ type: "DELETE", - url: url, - dataType: "json" + url: url }); }; @@ -1313,7 +1306,6 @@ MediaBrowser.ApiClient = function ($, navigator, JSON, WebSocket, setTimeout) { type: "POST", url: url, data: JSON.stringify(postData), - dataType: "json", contentType: "application/json" }); }; @@ -1390,7 +1382,6 @@ MediaBrowser.ApiClient = function ($, navigator, JSON, WebSocket, setTimeout) { type: "POST", url: url, data: JSON.stringify(configuration), - dataType: "json", contentType: "application/json" }); }; @@ -1406,7 +1397,6 @@ MediaBrowser.ApiClient = function ($, navigator, JSON, WebSocket, setTimeout) { type: "POST", url: url, data: JSON.stringify(info), - dataType: "json", contentType: "application/json" }); }; @@ -1448,7 +1438,6 @@ MediaBrowser.ApiClient = function ($, navigator, JSON, WebSocket, setTimeout) { type: "POST", url: url, data: JSON.stringify(user), - dataType: "json", contentType: "application/json" }); }; @@ -1474,7 +1463,6 @@ MediaBrowser.ApiClient = function ($, navigator, JSON, WebSocket, setTimeout) { type: "POST", url: url, data: JSON.stringify(triggers), - dataType: "json", contentType: "application/json" }); }; @@ -1500,7 +1488,6 @@ MediaBrowser.ApiClient = function ($, navigator, JSON, WebSocket, setTimeout) { type: "POST", url: url, data: JSON.stringify(configuration), - dataType: "json", contentType: "application/json" }); }; @@ -1673,8 +1660,7 @@ MediaBrowser.ApiClient = function ($, navigator, JSON, WebSocket, setTimeout) { return self.ajax({ type: method, - url: url, - dataType: "json" + url: url }); }; @@ -1700,8 +1686,7 @@ MediaBrowser.ApiClient = function ($, navigator, JSON, WebSocket, setTimeout) { return self.ajax({ type: method, - url: url, - dataType: "json" + url: url }); }; @@ -1753,8 +1738,7 @@ MediaBrowser.ApiClient = function ($, navigator, JSON, WebSocket, setTimeout) { return self.ajax({ type: method, - url: url, - dataType: "json" + url: url }); }; @@ -1803,8 +1787,7 @@ MediaBrowser.ApiClient = function ($, navigator, JSON, WebSocket, setTimeout) { return self.ajax({ type: "DELETE", - url: url, - dataType: "json" + url: url }); }; @@ -1917,8 +1900,7 @@ MediaBrowser.ApiClient = function ($, navigator, JSON, WebSocket, setTimeout) { return self.ajax({ type: "DELETE", - url: url, - dataType: "json" + url: url }); }; @@ -1941,8 +1923,7 @@ MediaBrowser.ApiClient = function ($, navigator, JSON, WebSocket, setTimeout) { return self.ajax({ type: "POST", - url: url, - dataType: "json" + url: url }); }; @@ -1972,8 +1953,7 @@ MediaBrowser.ApiClient = function ($, navigator, JSON, WebSocket, setTimeout) { return self.ajax({ type: "POST", - url: url, - dataType: "json" + url: url }); }; @@ -2004,8 +1984,7 @@ MediaBrowser.ApiClient = function ($, navigator, JSON, WebSocket, setTimeout) { return self.ajax({ type: "DELETE", - url: url, - dataType: "json" + url: url }); }; } diff --git a/MediaBrowser.WebDashboard/packages.config b/MediaBrowser.WebDashboard/packages.config index e88d7b2d28..c84847e3ed 100644 --- a/MediaBrowser.WebDashboard/packages.config +++ b/MediaBrowser.WebDashboard/packages.config @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <packages> - <package id="MediaBrowser.ApiClient.Javascript" version="3.0.79" targetFramework="net45" /> + <package id="MediaBrowser.ApiClient.Javascript" version="3.0.80" targetFramework="net45" /> <package id="ServiceStack.Common" version="3.9.43" targetFramework="net45" /> <package id="ServiceStack.Text" version="3.9.43" targetFramework="net45" /> </packages>
\ No newline at end of file |
