fixed #1736 solving single quote problem for album permissions

This commit is contained in:
Matthieu Leproux
2022-09-26 16:43:06 +02:00
parent 092ded6262
commit 5ec6b00509

View File

@@ -5,6 +5,7 @@
{combine_css id='jquery.selectize' path="themes/default/js/plugins/selectize.{$themeconf.colorscheme}.css"}
{footer_script}
const cat_nav = '{$CATEGORIES_NAV|escape:javascript}';
(function(){
{* <!-- GROUPS --> *}
var groupsCache = new GroupsCache({
@@ -49,7 +50,7 @@ jQuery("#selectStatus").change(function() {
}());
$(document).ready(function () {
$("h1").append(' <span style="letter-spacing:0">{$CATEGORIES_NAV}</span>');
$("h1").append(' <span style="letter-spacing:0">'+cat_nav+'</span>');
})
{/footer_script}