fixes linkpicker broken due to new NiceUrl format

This commit is contained in:
perploug
2013-11-19 09:06:43 +01:00
parent 31ab56a3c1
commit 66119ba3d8

View File

@@ -21,7 +21,7 @@ angular.module("umbraco").controller("Umbraco.Dialogs.LinkPickerController",
}
contentResource.getNiceUrl($scope.target.id).then(function(url){
$scope.target.url = angular.fromJson(url);
$scope.target.url = url;
});
}
}
@@ -53,7 +53,7 @@ angular.module("umbraco").controller("Umbraco.Dialogs.LinkPickerController",
$scope.target.url = "/";
} else {
contentResource.getNiceUrl(args.node.id).then(function (url) {
$scope.target.url = angular.fromJson(url);
$scope.target.url = url;
});
}
} else {