[-] BO : Do not copy link_rewrite from title if cms already has one
This commit is contained in:
+2
-1
@@ -119,7 +119,8 @@ function copy2friendlyURL()
|
||||
|
||||
function copyMeta2friendlyURL()
|
||||
{
|
||||
$('#input_link_rewrite_' + id_language).val(str2url($('#name_' + id_language).val().replace(/^[0-9]+\./, ''), 'UTF-8'));
|
||||
if (!$('input[name="id_cms"]').length)
|
||||
$('#link_rewrite_' + id_language).val(str2url($('#name_' + id_language).val().replace(/^[0-9]+\./, ''), 'UTF-8'));
|
||||
}
|
||||
|
||||
function updateCurrentText()
|
||||
|
||||
Reference in New Issue
Block a user