Merge pull request #311 from arknu/71-issue3691

U4-3691: Use empty alt text instead of 'Some description'
This commit is contained in:
Sebastiaan Janssen
2014-03-08 14:05:52 +01:00

View File

@@ -92,7 +92,7 @@ function tinyMceService(dialogService, $log, imageHelper, $http, $timeout, macro
if (img) {
var imagePropVal = imageHelper.getImagePropertyValue({ imageModel: img, scope: $scope });
var data = {
alt: "Some description",
alt: "",
src: (imagePropVal) ? imagePropVal : "nothing.jpg",
id: '__mcenew'
};