From c83eb94a90cc48ae1a45e046cb10900ff1fe9c95 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Thu, 4 Apr 2013 00:40:28 -0400 Subject: [PATCH] fixed MBTheater typo --- ApiClient.js | 7 +++++-- dashboard-ui/plugincatalog.html | 2 +- packages.config | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/ApiClient.js b/ApiClient.js index 8380dc8e5..5ac4ecd8f 100644 --- a/ApiClient.js +++ b/ApiClient.js @@ -572,9 +572,12 @@ MediaBrowser.ApiClient = function ($, navigator, JSON, WebSocket, setTimeout) { /** * Gets a list of plugins that are available to be installed */ - self.getAvailablePlugins = function () { + self.getAvailablePlugins = function (options) { - var url = self.getUrl("Packages", { PackageType: "UserInstalled" }); + options = $.extend({}, options || {}); + options.PackageType = "UserInstalled"; + + var url = self.getUrl("Packages", options); return self.ajax({ type: "GET", diff --git a/dashboard-ui/plugincatalog.html b/dashboard-ui/plugincatalog.html index 92be6b2ad..97df6766c 100644 --- a/dashboard-ui/plugincatalog.html +++ b/dashboard-ui/plugincatalog.html @@ -30,7 +30,7 @@ - + diff --git a/packages.config b/packages.config index 42d7b089c..e8181f609 100644 --- a/packages.config +++ b/packages.config @@ -1,6 +1,6 @@  - + \ No newline at end of file