Fixes: U4-4532 Unable to insert Image in TinyMCE when Image property 'umbracoFile' is changed from type 'Upload' to the new 'Image Cropper'

This commit is contained in:
perploug
2014-03-28 10:39:24 +01:00
parent 7a8f8ac0fe
commit b8f796eb2c

View File

@@ -105,7 +105,7 @@ function tinyMceService(dialogService, $log, imageHelper, $http, $timeout, macro
scope: $scope, callback: function (img) {
if (img) {
var imagePropVal = imageHelper.getImagePropertyValue({ imageModel: img, scope: $scope });
var data = {
alt: img.name,
src: (img.url) ? img.url : "nothing.jpg",