URL link now appears in the CIFS root folder, desktop actions are not shown in the root folder. Fix for AR-1042.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5036 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Gary Spencer
2007-02-05 14:47:26 +00:00
parent 3bb108712d
commit f1cfa53733
2 changed files with 5 additions and 5 deletions

View File

@@ -154,9 +154,9 @@ public class PseudoFileImpl implements PseudoFileInterface
boolean isCIFS = sess instanceof SMBSrvSession;
// Add the desktop action pseudo files
// Add the desktop action pseudo files, except to the root folder
if ( isCIFS && ctx.numberOfDesktopActions() > 0)
if ( isCIFS && ctx.numberOfDesktopActions() > 0 && path.equals(FileName.DOS_SEPERATOR_STR) == false)
{
// If the file state is null create a file state for the path