Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
use more fitting icon for files move action
  • Loading branch information
jancborchardt committed Oct 17, 2016
commit 2b794902014264a3793daf42a2ecfa95a1a07342
7 changes: 3 additions & 4 deletions apps/files/js/fileactions.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down Expand Up @@ -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);
Expand Down Expand Up @@ -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
Expand All @@ -777,4 +777,3 @@
OCA.Files.FileActions.prototype.display.call(window.FileActions, parent, triggerEvent, fileList);
};
})();