[-] BO : fixed bug #PSCFV-4288

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@17485 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
vAugagneur
2012-09-24 07:57:32 +00:00
parent 292928844c
commit 74cf4b5bfc
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -51,7 +51,7 @@ function str2url(str,encoding,ucfirst)
function copy2friendlyURL()
{
$('#link_rewrite_' + id_language).val(str2url($('#name_' + id_language).val().replace(/^[0-9]+\./, ''), 'UTF-8'));
$('#link_rewrite_' + id_language).val(str2url($('#name_' + id_language).val().replace(/^[0-9]+\./, ''), 'UTF-8').replace('%', ''));
if ($('#friendly-url'))
$('#friendly-url').html($('#link_rewrite_' + id_language).val());
// trigger onchange event to use anything binded there