[-] BO : Bug Fixed #PSCFV-2677 - You shouldn't be allowed to put spaces in virtual url

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15860 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
fBrignoli
2012-06-05 16:18:48 +00:00
parent e999610768
commit f18ffe592e

View File

@@ -53,6 +53,14 @@
$('#domain_ssl').val($('#domain').val());
}
});
$('#virtual_uri').keyup(function()
{
txt = $('#virtual_uri').val()
txt = txt.replace(' ', '-');
$('#virtual_uri').val(txt);
});
});
var shopUrl = {$js_shop_url};