openlp-core team mailing list archive
-
openlp-core team
-
Mailing list archive
-
Message #16015
[Merge] lp:~phill-ridout/openlp/ticket703+677 into lp:openlp
phill has proposed merging lp:~phill-ridout/openlp/ticket703+677 into lp:openlp.
Requested reviews:
OpenLP Core (openlp-core)
For more details, see:
https://code.launchpad.net/~phill-ridout/openlp/ticket703+677/+merge/110642
--
https://code.launchpad.net/~phill-ridout/openlp/ticket703+677/+merge/110642
Your team OpenLP Core is requested to review the proposed merge of lp:~phill-ridout/openlp/ticket703+677 into lp:openlp.
=== modified file 'openlp/plugins/remotes/html/openlp.js'
--- openlp/plugins/remotes/html/openlp.js 2012-04-18 20:44:47 +0000
+++ openlp/plugins/remotes/html/openlp.js 2012-06-16 00:21:19 +0000
@@ -245,6 +245,9 @@
}
else {
$.each(data.results.items, function (idx, value) {
+ if (typeof value[0] !== "number"){
+ value[0] = OpenLP.escapeString(value[0])
+ }
ul.append($("<li>").append($("<a>").attr("href", "#options")
.attr("data-rel", "dialog").attr("value", value[0])
.click(OpenLP.showOptions).text(value[1])));
Follow ups