mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
Only clear clipboard if files are moved, not copied or symlinked
This commit is contained in:
parent
7738de2dec
commit
9496768f82
@ -887,10 +887,13 @@ app.classes.filemanager = AppJS.extend(
|
||||
action.execute(clipboard.selected,selected[0]);
|
||||
|
||||
// Clear the clipboard, the files are not there anymore
|
||||
egw.setSessionItem('phpgwapi', 'egw_clipboard', JSON.stringify({
|
||||
type:[],
|
||||
selected:[]
|
||||
}));
|
||||
if(action.id.indexOf('move') !== -1)
|
||||
{
|
||||
egw.setSessionItem('phpgwapi', 'egw_clipboard', JSON.stringify({
|
||||
type:[],
|
||||
selected:[]
|
||||
}));
|
||||
}
|
||||
};
|
||||
for(var i = 0; i < actions.length; i++)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user