mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
. Deleted Files and Deleted Folders now show file/folder icon
. Fix to my over zealous refactoring in Submit Dialog git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4572 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -484,6 +484,11 @@ public class SubmitDialog extends BaseDialogBean
|
||||
this.workflows.add(wrapper);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
this.submitItems.add(new ItemWrapper(node));
|
||||
submittedPaths.add(node.getPath());
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -669,8 +674,7 @@ public class SubmitDialog extends BaseDialogBean
|
||||
|
||||
public String getIcon()
|
||||
{
|
||||
// TODO: handle deleted file types here once implemented in the AVMNodeType enum
|
||||
if (descriptor.isFile())
|
||||
if (descriptor.isDeletedFile())
|
||||
{
|
||||
return Utils.getFileTypeImage(descriptor.getName(), true);
|
||||
}
|
||||
|
Reference in New Issue
Block a user