use more fitting icon for files move action

This commit is contained in:
Jan-Christoph Borchardt 2016-10-17 18:52:25 +02:00
parent fdc2e8ba56
commit 2b79490201

View File

@ -363,7 +363,7 @@
/**
* Renders the menu trigger on the given file list row
*
*
* @param {Object} $tr file list row element
* @param {OCA.Files.FileActionContext} context rendering context
*/
@ -623,7 +623,7 @@
mime: 'all',
order: -25,
permissions: OC.PERMISSION_UPDATE,
iconClass: 'icon-rename',
iconClass: 'icon-external',
actionHandler: function (filename, context) {
OC.dialogs.filepicker(t('files', 'Target folder'), function(targetPath) {
context.fileList.move(filename, targetPath);
@ -758,7 +758,7 @@
OCA.Files.legacyFileActions = new OCA.Files.FileActions();
// for backward compatibility
//
//
// legacy apps are expecting a stateful global FileActions object to register
// their actions on. Since legacy apps are very likely to break with other
// FileList views than the main one ("All files"), actions registered
@ -777,4 +777,3 @@
OCA.Files.FileActions.prototype.display.call(window.FileActions, parent, triggerEvent, fileList);
};
})();