mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merged V3.2 to HEAD
18358: Merged DEV_TEMPORARY to V3.2 18177 & 18342: ETHREEOH-3979: Web Forms: Inline images within TinyMCE controls aren't displayed correctly git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@18359 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -213,7 +213,8 @@ public class XFormsProcessor implements FormProcessor
|
||||
js.append("alfresco.constants.AVM_WEBAPP_URL = '");
|
||||
if (avmWebApp != null)
|
||||
{
|
||||
String storeName = avmBrowseBean.getSandbox();
|
||||
//Use preview store because when user upload image it appears in preview, not in main store.
|
||||
String storeName = AVMUtil.getCorrespondingPreviewStoreName(avmBrowseBean.getSandbox());
|
||||
if (storeName != null)
|
||||
{
|
||||
js.append(JavaScriptUtils.javaScriptEscape(fc.getExternalContext().getRequestContextPath() + "/wcs/api/path/content/avm/" +
|
||||
|
Reference in New Issue
Block a user