]> source.dussan.org Git - nextcloud-server.git/commitdiff
use more fitting icon for files move action 1754/head
authorJan-Christoph Borchardt <hey@jancborchardt.net>
Mon, 17 Oct 2016 16:52:25 +0000 (18:52 +0200)
committerJan-Christoph Borchardt <hey@jancborchardt.net>
Mon, 17 Oct 2016 16:52:25 +0000 (18:52 +0200)
apps/files/js/fileactions.js

index 8d2178578e58f0a34adb4c78f16f98055c7b6982..3e0cf998254fe00389957dbffdb92b9dd0b8b632 100644 (file)
 
                /**
                 * Renders the menu trigger on the given file list row
-                * 
+                *
                 * @param {Object} $tr file list row element
                 * @param {OCA.Files.FileActionContext} context rendering context
                 */
                                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);
        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
                OCA.Files.FileActions.prototype.display.call(window.FileActions, parent, triggerEvent, fileList);
        };
 })();
-