diff --git a/js/admin.js b/js/admin.js index 58905e82..2398490b 100755 --- a/js/admin.js +++ b/js/admin.js @@ -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()