mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
escape translation string to avoid JS error (in French)
This commit is contained in:
@@ -86,7 +86,7 @@ $('#action-delete-picture').on('click', function() {
|
||||
{/literal}
|
||||
|
||||
}());
|
||||
const str_assoc_album_ab = '{'Associate to album'|@translate}';
|
||||
const str_assoc_album_ab = '{'Associate to album'|translate|escape:javascript}';
|
||||
{/footer_script}
|
||||
|
||||
{combine_script id='picture_modify' load='footer' path='admin/themes/default/js/picture_modify.js'}
|
||||
|
||||
Reference in New Issue
Block a user