From b8f796eb2c9e8139d9dcbc95834f96f0e2356c85 Mon Sep 17 00:00:00 2001 From: perploug Date: Fri, 28 Mar 2014 10:39:24 +0100 Subject: [PATCH] Fixes: U4-4532 Unable to insert Image in TinyMCE when Image property 'umbracoFile' is changed from type 'Upload' to the new 'Image Cropper' --- .../src/common/services/tinymce.service.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Umbraco.Web.UI.Client/src/common/services/tinymce.service.js b/src/Umbraco.Web.UI.Client/src/common/services/tinymce.service.js index 46ff2c43f2..325cc06c4c 100644 --- a/src/Umbraco.Web.UI.Client/src/common/services/tinymce.service.js +++ b/src/Umbraco.Web.UI.Client/src/common/services/tinymce.service.js @@ -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",