From 5767659d226a47d59bc6a024033e54c3741eebc7 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Mon, 28 Aug 2017 10:56:21 +0200 Subject: [PATCH] Change move copy order and debug leftover Signed-off-by: Thomas Citharel --- apps/files/js/fileactions.js | 4 ++-- apps/files/templates/list.php | 2 +- core/js/oc-dialogs.js | 1 - 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/apps/files/js/fileactions.js b/apps/files/js/fileactions.js index 668960d593..3da9b06b0d 100644 --- a/apps/files/js/fileactions.js +++ b/apps/files/js/fileactions.js @@ -618,8 +618,8 @@ }); this.registerAction({ - name: 'CopyMove', - displayName: t('files', 'Copy or Move'), + name: 'MoveCopy', + displayName: t('files', 'Move or copy'), mime: 'all', order: -25, permissions: OC.PERMISSION_UPDATE, diff --git a/apps/files/templates/list.php b/apps/files/templates/list.php index 3857ad3bad..f3b6759644 100644 --- a/apps/files/templates/list.php +++ b/apps/files/templates/list.php @@ -49,7 +49,7 @@ - t('Copy or Move'))?> + t('Move or copy'))?> diff --git a/core/js/oc-dialogs.js b/core/js/oc-dialogs.js index 902d5263d0..1bc1399466 100644 --- a/core/js/oc-dialogs.js +++ b/core/js/oc-dialogs.js @@ -257,7 +257,6 @@ var OCdialogs = { }; var copyCallback = function () { - console.log('copy callback'); functionToCall(OCdialogs.FILEPICKER_TYPE_COPY); };