mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-05 01:12:29 +02:00
fixed #1796 fixed js so single quotes don't break the page in page title
This commit is contained in:
@@ -3,8 +3,11 @@
|
|||||||
{combine_css id='jquery.selectize' path="themes/default/js/plugins/selectize.{$themeconf.colorscheme}.css"}
|
{combine_css id='jquery.selectize' path="themes/default/js/plugins/selectize.{$themeconf.colorscheme}.css"}
|
||||||
|
|
||||||
{footer_script}
|
{footer_script}
|
||||||
|
|
||||||
|
const cat_nav = '{$CATEGORIES_NAV|escape:javascript}';
|
||||||
|
|
||||||
jQuery(document).ready(function() {
|
jQuery(document).ready(function() {
|
||||||
$("h1").append(' <span style="letter-spacing:0">{$CATEGORIES_NAV}</span>');
|
$("h1").append(' <span style="letter-spacing:0">'+cat_nav+'</span>');
|
||||||
|
|
||||||
jQuery("input[name=who]").change(function () {
|
jQuery("input[name=who]").change(function () {
|
||||||
checkWhoOptions();
|
checkWhoOptions();
|
||||||
|
|||||||
@@ -1,7 +1,10 @@
|
|||||||
{combine_script id='common' load='footer' path='admin/themes/default/js/common.js'}
|
{combine_script id='common' load='footer' path='admin/themes/default/js/common.js'}
|
||||||
{footer_script require='jquery.ui.sortable'}
|
{footer_script require='jquery.ui.sortable'}
|
||||||
|
|
||||||
|
const cat_nav = '{$CATEGORIES_NAV|escape:javascript}';
|
||||||
|
|
||||||
jQuery(document).ready(function() {
|
jQuery(document).ready(function() {
|
||||||
$("h1").append(' <span style="letter-spacing:0">{$CATEGORIES_NAV}</span>');
|
$("h1").append(' <span style="letter-spacing:0">'+cat_nav+'</span>');
|
||||||
|
|
||||||
function checkOrderOptions() {
|
function checkOrderOptions() {
|
||||||
jQuery("#image_order_user_define_options").hide();
|
jQuery("#image_order_user_define_options").hide();
|
||||||
|
|||||||
Reference in New Issue
Block a user