mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
. Fix for AWC-661 - you can no longer paste a link as a link (yes that's just weird)
. Link file/folder external destination link no longer shown in portal mode (external access URLs don't work in a portal) git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2951 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -129,6 +129,14 @@ public class NavigationBean
|
||||
{
|
||||
return Application.getCurrentUser(FacesContext.getCurrentInstance());
|
||||
}
|
||||
|
||||
/**
|
||||
* @return true if the system is running within a JSR-168 portal container
|
||||
*/
|
||||
public boolean getInPortalServer()
|
||||
{
|
||||
return Application.inPortalServer();
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the expanded state of the Shelf panel wrapper component
|
||||
|
@@ -200,7 +200,7 @@ public class UIClipboardShelfItem extends UIShelfItem
|
||||
out.write(buildActionLink(ACTION_REMOVE_ITEM, i, bundle.getString(MSG_REMOVE_ITEM), WebResources.IMAGE_REMOVE));
|
||||
out.write(" ");
|
||||
out.write(buildActionLink(ACTION_PASTE_ITEM, i, bundle.getString(MSG_PASTE_ITEM), WebResources.IMAGE_PASTE));
|
||||
if (item.Mode == ClipboardStatus.COPY)
|
||||
if (item.Mode == ClipboardStatus.COPY && dd.isSubClass(item.Node.getType(), ContentModel.TYPE_LINK) == false)
|
||||
{
|
||||
out.write(" ");
|
||||
out.write(buildActionLink(ACTION_PASTE_LINK, i, bundle.getString(MSG_PASTE_LINK), WebResources.IMAGE_PASTE_LINK));
|
||||
|
Reference in New Issue
Block a user