Fix missing crops on images
This commit is contained in:
committed by
Sebastiaan Janssen
parent
3704bfcfe8
commit
4662b2e5d4
@@ -97,7 +97,7 @@ angular.module('umbraco')
|
||||
if (angular.isString($scope.model.value)) {
|
||||
setModelValueWithSrc($scope.model.value);
|
||||
}
|
||||
else if ($scope.model.value.crops) {
|
||||
else {
|
||||
//sync any config changes with the editor and drop outdated crops
|
||||
_.each($scope.model.value.crops, function (saved) {
|
||||
var configured = _.find(config.crops, function (item) { return item.alias === saved.alias });
|
||||
|
||||
Reference in New Issue
Block a user