DataType refactoring

This commit is contained in:
Stephan
2018-01-20 12:09:15 +01:00
parent e30d8f79ef
commit 97a058b817
158 changed files with 1602 additions and 1659 deletions

View File

@@ -62,10 +62,10 @@ namespace Umbraco.Web.Models
// want to return the normal URL and the cropper stores data as json
switch (propType.EditorAlias)
{
case Constants.PropertyEditors.UploadFieldAlias:
case Constants.PropertyEditors.Aliases.UploadField:
_url = prop.GetValue().ToString();
break;
case Constants.PropertyEditors.ImageCropperAlias:
case Constants.PropertyEditors.Aliases.ImageCropper:
//get the url from the json format
var stronglyTyped = prop.GetValue() as ImageCropDataSet;