Update ImageProfilePartHandler.cs

This commit is contained in:
jtkech
2015-11-29 02:20:36 +01:00
parent fa0c93724e
commit 9296358cbe

View File

@@ -14,6 +14,7 @@ namespace Orchard.MediaProcessing.Handlers {
} }
protected override void Published(PublishContentContext context) { protected override void Published(PublishContentContext context) {
if (context.ContentItem.Has<ImageProfilePart>())
_signals.Trigger("MediaProcessing_Published_" + context.ContentItem.As<ImageProfilePart>().Name); _signals.Trigger("MediaProcessing_Published_" + context.ContentItem.As<ImageProfilePart>().Name);
base.Published(context); base.Published(context);
} }