Add a missing pair of quotes to fix #354.

This commit is contained in:
Mattias Põldaru 2011-12-23 16:54:53 +02:00
parent 706fa7ff49
commit 7f6edda463
1 changed files with 1 additions and 1 deletions

View File

@ -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},