forked from extern/egroupware
Api: Fix merge action files in subdirectories had their path as part of action caption instead of just the file name
This commit is contained in:
parent
b1af39be37
commit
4e54c2b5a3
@ -2607,7 +2607,7 @@ abstract class Merge
|
|||||||
$action_base,
|
$action_base,
|
||||||
array(
|
array(
|
||||||
'icon' => Api\Vfs::mime_icon($file['mime']),
|
'icon' => Api\Vfs::mime_icon($file['mime']),
|
||||||
'caption' => Api\Vfs::decodePath($file['name']),
|
'caption' => Api\Vfs::decodePath(Api\Vfs::basename($file['name'])),
|
||||||
'onExecute' => 'javaScript:app.' . $GLOBALS['egw_info']['flags']['currentapp'] . '.merge',
|
'onExecute' => 'javaScript:app.' . $GLOBALS['egw_info']['flags']['currentapp'] . '.merge',
|
||||||
'merge_data' => $edit_attributes
|
'merge_data' => $edit_attributes
|
||||||
),
|
),
|
||||||
|
Loading…
Reference in New Issue
Block a user