Merge pull request #1056 from umbraco/temp-U4-7695
U4-7695 Media items are not updated when a new crop is added to Image…
This commit is contained in:
@@ -119,6 +119,10 @@
|
||||
|
||||
if (mediaItem.HasProperty(propertyAlias) && mediaItem.HasValue(propertyAlias))
|
||||
{
|
||||
//TODO: We should change this, the default value is JObject now, this means we are ToString() ing the value,
|
||||
// then re-deserializing it back to json and then to a strongly typed model.
|
||||
// With a tiny bit of work we can make this more efficient since it's already a JObject.
|
||||
|
||||
imageCropperValue = mediaItem.GetPropertyValue<string>(propertyAlias);
|
||||
|
||||
// get the raw value (this will be json)
|
||||
|
||||
Reference in New Issue
Block a user