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) {
|
||||
event.preventDefault();
|
||||
var text = "{\"request\": {\"text\": " + $("#alert-text").val() + "}}";
|
||||
var text = "{\"request\": {\"text\": \"" + $("#alert-text").val() + "\"}}";
|
||||
$.getJSON(
|
||||
"/api/alert",
|
||||
{"data": text},
|
||||
|
Loading…
Reference in New Issue
Block a user