* fixed slug method on datacenter locations on js side.
This commit is contained in:
Sebastian Marcet 2014-11-14 23:06:03 -03:00
parent 88738ff294
commit 6900a186cf
1 changed files with 1 additions and 2 deletions

View File

@ -46,8 +46,7 @@ function convertToSlug(txt){
if(txt == null) return '';
return txt
.toLowerCase()
.replace(/[^\w ]+/g,'')
.replace(/ +/g,'-');
.replace(/[^A-Za-z0-9-]+/g,'-');
}