From 38de583db025e297ef9d18ce4c01a19865abb52f Mon Sep 17 00:00:00 2001 From: redmatrix Date: Mon, 15 Aug 2016 17:18:42 -0700 Subject: [PATCH] Use double quotes for strings passed via templates to javascript. Some translated strings have unescaped single quotes. --- view/tpl/jot-header.tpl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/view/tpl/jot-header.tpl b/view/tpl/jot-header.tpl index 9de049b58..63691f842 100755 --- a/view/tpl/jot-header.tpl +++ b/view/tpl/jot-header.tpl @@ -398,7 +398,7 @@ function enableOnUser(){ $.post("embedphotos/album", {name: album}, function(data) { if (data['status']) { - $('#embedPhotoModalLabel').html('{{$modalchooseimages}}'); + $('#embedPhotoModalLabel').html("{{$modalchooseimages}}"); $('#embedPhotoModalBodyAlbumDialog').html('\