diff --git a/openlp/plugins/remotes/html/openlp.js b/openlp/plugins/remotes/html/openlp.js index ee408b3d1..4c2f6d412 100644 --- a/openlp/plugins/remotes/html/openlp.js +++ b/openlp/plugins/remotes/html/openlp.js @@ -47,7 +47,7 @@ window.OpenLP = { var select = $("#search-plugin"); select.html(""); $.each(data.results.items, function (idx, value) { - select.append(""); + select.append(""); }); select.selectmenu("refresh"); } diff --git a/openlp/plugins/remotes/lib/httpserver.py b/openlp/plugins/remotes/lib/httpserver.py index ad2de41ed..152521165 100644 --- a/openlp/plugins/remotes/lib/httpserver.py +++ b/openlp/plugins/remotes/lib/httpserver.py @@ -124,7 +124,7 @@ except ImportError: from PyQt4 import QtCore, QtNetwork from mako.template import Template -from openlp.core.lib import Receiver, PluginStatus +from openlp.core.lib import Receiver, PluginStatus, StringContent from openlp.core.ui import HideMode from openlp.core.utils import AppLocation, translate @@ -491,7 +491,8 @@ class HttpConnection(object): for plugin in self.parent.plugin.pluginManager.plugins: if plugin.status == PluginStatus.Active and \ plugin.mediaItem and plugin.mediaItem.hasSearch: - searches.append(plugin.name) + searches.append([plugin.name, unicode( + plugin.textStrings[StringContent.Name][u'plural'])]) return HttpResponse( json.dumps({u'results': {u'items': searches}}), {u'Content-Type': u'application/json'})