diff --git a/config/alfresco/thumbnail-service-context.xml b/config/alfresco/thumbnail-service-context.xml index 0b186a37f8..c543fe2ab7 100644 --- a/config/alfresco/thumbnail-service-context.xml +++ b/config/alfresco/thumbnail-service-context.xml @@ -51,14 +51,14 @@ - + - - + + diff --git a/source/java/org/alfresco/repo/jscript/ScriptNode.java b/source/java/org/alfresco/repo/jscript/ScriptNode.java index 0a1e34cb2e..705d1c166f 100644 --- a/source/java/org/alfresco/repo/jscript/ScriptNode.java +++ b/source/java/org/alfresco/repo/jscript/ScriptNode.java @@ -1924,6 +1924,12 @@ public class ScriptNode implements Serializable, Scopeable return new ScriptThumbnail(thumbnailNodeRef, this.services, this.scope); } + /** + * Get the given thumbnail for the content property + * + * @param thumbnailName the thumbnail name + * @return ScriptThumbnail the thumbnail + */ public ScriptThumbnail getThumbnail(String thumbnailName) { ScriptThumbnail result = null;