diff options
author | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2017-10-30 19:01:22 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-30 19:01:22 +0100 |
commit | fcb9c034fa6c872a908dc6efd11056b0fae69f2c (patch) | |
tree | e17621eeee943454ff710e8dc171a216912da7af /apps | |
parent | c8323f822d6553e64f956c096d7c5f96319324db (diff) | |
parent | 446a3d2f215f52529955ebe4edd036806f00bfb2 (diff) | |
download | nextcloud-server-fcb9c034fa6c872a908dc6efd11056b0fae69f2c.tar.gz nextcloud-server-fcb9c034fa6c872a908dc6efd11056b0fae69f2c.zip |
Merge pull request #7012 from nextcloud/show-favourite-action-as-the-first-one
Show favourite action as the first one in the file actions menu
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files/js/tagsplugin.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/files/js/tagsplugin.js b/apps/files/js/tagsplugin.js index 2286477750c..747a7245a56 100644 --- a/apps/files/js/tagsplugin.js +++ b/apps/files/js/tagsplugin.js @@ -103,17 +103,17 @@ return t('files', 'Add to favorites'); }, mime: 'all', - order: -23, + order: -100, permissions: OC.PERMISSION_READ, iconClass: function(fileName, context) { var $file = context.$file; var isFavorite = $file.data('favorite') === true; if (isFavorite) { - return 'icon-starred'; + return 'icon-star-dark'; } - return 'icon-star'; + return 'icon-starred'; }, actionHandler: function(fileName, context) { var $favoriteMarkEl = context.$file.find('.favorite-mark'); |