mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 17:33:49 +01:00
* Filemanager: Fix "open as new" action is disabled on selected file context menu
This commit is contained in:
parent
504e70ae82
commit
54389ff5a5
@ -970,11 +970,16 @@ class filemanager_ui
|
||||
|
||||
$row['class'] .= 'isDir ';
|
||||
$row['is_dir'] = 1;
|
||||
}
|
||||
if(!$dir_is_writable[$path])
|
||||
{
|
||||
$row['class'] .= 'noEdit ';
|
||||
}
|
||||
}
|
||||
elseif (!$dir_is_writable[Vfs::dirname($path)])
|
||||
{
|
||||
$row['class'] .= 'noEdit ';
|
||||
}
|
||||
|
||||
$row['class'] .= !$dir_is_writable[$dir] ? 'noDelete' : '';
|
||||
$row['download_url'] = Vfs::download_url($path);
|
||||
$row['gid'] = -abs($row['gid']); // gid are positive, but we use negagive account_id for groups internal
|
||||
|
Loading…
Reference in New Issue
Block a user