From 2fc47cc52b556153a17b5712e695175f87e6c1dd Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Wed, 11 Jan 2017 10:59:46 +0100 Subject: fix embedimage if an albumname contains quotes --- view/tpl/jot-header.tpl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'view/tpl/jot-header.tpl') diff --git a/view/tpl/jot-header.tpl b/view/tpl/jot-header.tpl index edabee2da..d846f3e34 100755 --- a/view/tpl/jot-header.tpl +++ b/view/tpl/jot-header.tpl @@ -490,8 +490,9 @@ function enableOnUser(){ $('#embedPhotoModalBodyAlbumList').html(''); for(var i=0; i' + albumName + ''; + var jsAlbumName = albums[i].jstext; + var albumLink = '
  • '; + albumLink += '' + albumName + ''; albumLink += '
  • '; $('#embedPhotoModalBodyAlbumList').find('ul').append(albumLink); } -- cgit v1.2.3