mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-25 16:19:00 +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]);
|
action.execute(clipboard.selected,selected[0]);
|
||||||
|
|
||||||
// Clear the clipboard, the files are not there anymore
|
// Clear the clipboard, the files are not there anymore
|
||||||
egw.setSessionItem('phpgwapi', 'egw_clipboard', JSON.stringify({
|
if(action.id.indexOf('move') !== -1)
|
||||||
type:[],
|
{
|
||||||
selected:[]
|
egw.setSessionItem('phpgwapi', 'egw_clipboard', JSON.stringify({
|
||||||
}));
|
type:[],
|
||||||
|
selected:[]
|
||||||
|
}));
|
||||||
|
}
|
||||||
};
|
};
|
||||||
for(var i = 0; i < actions.length; i++)
|
for(var i = 0; i < actions.length; i++)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user