mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-13 17:38:19 +01:00
Add Symlink as a drop action
This commit is contained in:
parent
cad253627b
commit
ecdbff6edd
@ -192,6 +192,13 @@ class filemanager_ui
|
||||
'caption' => lang('Copy into folder'),
|
||||
'type' => 'drop',
|
||||
'onExecute' => 'javaScript:app.filemanager.drop'
|
||||
),
|
||||
'file_drop_symlink' => array(
|
||||
'icon' => 'linkpaste',
|
||||
'acceptedTypes' => 'file',
|
||||
'caption' => lang('Link into folder'),
|
||||
'type' => 'drop',
|
||||
'onExecute' => 'javaScript:app.filemanager.drop'
|
||||
)
|
||||
);
|
||||
if (!isset($GLOBALS['egw_info']['user']['apps']['mail']))
|
||||
|
@ -614,7 +614,7 @@ app.classes.filemanager = AppJS.extend(
|
||||
dst = this.dirname(dst);
|
||||
}
|
||||
|
||||
this._do_action(_action.id == "file_drop_move" ? 'move' : 'copy', src, false, dst);
|
||||
this._do_action(_action.id.replace("file_drop_",''), src, false, dst);
|
||||
},
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user