Also make sure the alias gets generated from the full name and not just the part before the &

This commit is contained in:
Sebastiaan Janssen
2018-07-31 22:01:35 +02:00
parent a2cb5fac98
commit fe914dc339

View File

@@ -82,7 +82,7 @@ angular.module("umbraco.directives")
generateAliasTimeout = $timeout(function () {
updateAlias = true;
entityResource.getSafeAlias(value, true).then(function (safeAlias) {
entityResource.getSafeAlias(encodeURIComponent(value), true).then(function (safeAlias) {
if (updateAlias) {
scope.alias = safeAlias.alias;
}