diff --git a/admin/themes/default/template/cat_perm.tpl b/admin/themes/default/template/cat_perm.tpl
index b161f115d..e56cbcc73 100644
--- a/admin/themes/default/template/cat_perm.tpl
+++ b/admin/themes/default/template/cat_perm.tpl
@@ -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(){
{* *}
var groupsCache = new GroupsCache({
@@ -49,7 +50,7 @@ jQuery("#selectStatus").change(function() {
}());
$(document).ready(function () {
- $("h1").append(' {$CATEGORIES_NAV}');
+ $("h1").append(' '+cat_nav+'');
})
{/footer_script}