Change move copy order and debug leftover

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2017-08-28 10:56:21 +02:00
parent 07c1137abf
commit 5767659d22
3 changed files with 3 additions and 4 deletions

View File

@ -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,

View File

@ -49,7 +49,7 @@
<span id="selectedActionsList" class="selectedActions">
<a href="" class="copy-move">
<span class="icon icon-external"></span>
<span><?php p($l->t('Copy or Move'))?></span>
<span><?php p($l->t('Move or copy'))?></span>
</a>
<a href="" class="download">
<span class="icon icon-download"></span>

View File

@ -257,7 +257,6 @@ var OCdialogs = {
};
var copyCallback = function () {
console.log('copy callback');
functionToCall(OCdialogs.FILEPICKER_TYPE_COPY);
};