fill and translate meta auto

This commit is contained in:
Marion Muszynski 2017-06-08 12:23:30 +02:00
parent 732dde9165
commit 6d4cf5d1bd

View File

@ -146,6 +146,13 @@ function copy2friendlyURLCategory()
$('#meta_keywords_' + id_language).val('Vente privée ' + str2urlName($('#name_' + id_language).val().replace(/^[0-9]+\./, ''), 'UTF-8'));
$('#meta_title_' + id_language).val('Vente privée ' +str2urlName($('#name_' + id_language).val().replace(/^[0-9]+\./, ''), 'UTF-8'));
$('#meta_description_' + id_language).val('Vente privée ' + str2urlName($('#name_' + id_language).val().replace(/^[0-9]+\./, ''), 'UTF-8'));
// @Override Antadis
$('#link_rewrite_3').val(str2url($('#name_' + id_language).val().replace(/^[0-9]+\./, ''), 'UTF-8'));
$('#meta_keywords_3').val('Venta privada ' + str2urlName($('#name_' + id_language).val().replace(/^[0-9]+\./, ''), 'UTF-8'));
$('#meta_title_3').val('Venta privada ' + str2urlName($('#name_' + id_language).val().replace(/^[0-9]+\./, ''), 'UTF-8'));
$('#meta_description_3').val('Venta privada ' + str2urlName($('#name_' + id_language).val().replace(/^[0-9]+\./, ''), 'UTF-8'));
// @End override
}
function copyMeta2friendlyURL()