mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-10-22 15:12:38 +00:00
Bug fix for commented out pseudo file overlay.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29660 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -54,23 +54,26 @@ public class PseudoFileOverlayImpl implements PseudoFileOverlay
|
||||
PropertyCheck.mandatory(this, "context", context);
|
||||
|
||||
DesktopActionTable actions = context.getDesktopActions();
|
||||
|
||||
Enumeration<String> actionNames = actions.enumerateActionNames();
|
||||
|
||||
while(actionNames.hasMoreElements())
|
||||
|
||||
if(actions != null)
|
||||
{
|
||||
// Get the current desktop action
|
||||
String name = actionNames.nextElement();
|
||||
DesktopAction action = actions.getAction(name);
|
||||
Enumeration<String> actionNames = actions.enumerateActionNames();
|
||||
|
||||
while(actionNames.hasMoreElements())
|
||||
{
|
||||
// Get the current desktop action
|
||||
String name = actionNames.nextElement();
|
||||
DesktopAction action = actions.getAction(name);
|
||||
|
||||
// Add the pseudo file for the desktop action
|
||||
// Add the pseudo file for the desktop action
|
||||
|
||||
if ( action.hasPseudoFile())
|
||||
{
|
||||
PseudoFile file = action.getPseudoFile();
|
||||
pl.addFile(file);
|
||||
}
|
||||
}
|
||||
if ( action.hasPseudoFile())
|
||||
{
|
||||
PseudoFile file = action.getPseudoFile();
|
||||
pl.addFile(file);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private PseudoFile generateURLShortcut(NodeRef nodeRef)
|
||||
|
||||
Reference in New Issue
Block a user