forked from openlp/openlp
Fix JS error in OpenLP.js
A fix for issues: http://support.openlp.org/issues/703 http://support.openlp.org/issues/677 bzr-revno: 1995
This commit is contained in:
commit
79299f15cd
@ -245,6 +245,9 @@ window.OpenLP = {
|
||||
}
|
||||
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])));
|
||||
|
Loading…
Reference in New Issue
Block a user