diff options
-rw-r--r-- | apps/files/js/fileactions.js | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/apps/files/js/fileactions.js b/apps/files/js/fileactions.js index 3c13f087f7a..6b95e3ee6cd 100644 --- a/apps/files/js/fileactions.js +++ b/apps/files/js/fileactions.js @@ -294,7 +294,6 @@ * @param {OCA.Files.FileActionContext} context action context */ _defaultRenderAction: function(actionSpec, isDefault, context) { - var name = actionSpec.name; if (!isDefault) { var params = { name: actionSpec.name, @@ -348,13 +347,16 @@ _renderMenuTrigger: function($tr, context) { // remove previous $tr.find('.action-menu').remove(); - $tr.find('.fileactions').append(this._renderInlineAction({ + + var $el = this._renderInlineAction({ name: 'menu', displayName: '', icon: OC.imagePath('core', 'actions/more'), altText: t('files', 'Actions'), action: this._showMenuClosure - }, false, context)); + }, false, context); + + $el.addClass('permanent'); }, /** |