diff --git a/filemanager/js/app.js b/filemanager/js/app.js index 38d6830926..0caa7ce8a7 100644 --- a/filemanager/js/app.js +++ b/filemanager/js/app.js @@ -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++) {