mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +01:00
Fix move/copy actions in link_to widget vfsSelect try to create not unwanted new symlink
This commit is contained in:
parent
b8fd2f9c97
commit
d9d051a97e
@ -273,16 +273,18 @@ class Link extends Etemplate\Widget
|
||||
{
|
||||
Api\Vfs::copy_files($files, Api\Link::vfs_path($app, $id, '', true));
|
||||
}
|
||||
if ($action == "move")
|
||||
elseif ($action == "move")
|
||||
{
|
||||
Api\Vfs::move_files($files, Api\Link::vfs_path($app, $id, '', true), $errs = array(), $moved = array());
|
||||
}
|
||||
|
||||
else
|
||||
{
|
||||
foreach($files as $target)
|
||||
{
|
||||
Api\Link::link_file($app, $id, $target);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public static function ajax_delete($value)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user