Fixing RTL on BodyPart

This commit is contained in:
Nicholas Mayne
2014-08-26 22:55:25 +01:00
parent 52edc446e7
commit 88571fad45

View File

@@ -28,7 +28,7 @@
<script type="text/javascript">
var mediaPickerEnabled = @(shellDescriptor.Features.Any(x => x.Name == "Orchard.MediaPicker") ? "true" : "false");
var mediaLibraryEnabled = @(shellDescriptor.Features.Any(x => x.Name == "Orchard.MediaLibrary") ? "true" : "false");
var directionality = '@WorkContext.GetTextDirection((IContent)Model.ContentItem)';
var directionality = '@WorkContext.GetTextDirection((IContent)Model.BodyPart.ContentItem)';
var language = '@language';
</script>