forked from openlp/openlp
Add a missing pair of quotes to fix #354.
This commit is contained in:
parent
706fa7ff49
commit
7f6edda463
@ -208,7 +208,7 @@ window.OpenLP = {
|
|||||||
},
|
},
|
||||||
showAlert: function (event) {
|
showAlert: function (event) {
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
var text = "{\"request\": {\"text\": " + $("#alert-text").val() + "}}";
|
var text = "{\"request\": {\"text\": \"" + $("#alert-text").val() + "\"}}";
|
||||||
$.getJSON(
|
$.getJSON(
|
||||||
"/api/alert",
|
"/api/alert",
|
||||||
{"data": text},
|
{"data": text},
|
||||||
|
Loading…
Reference in New Issue
Block a user