From 0f8aca9d87db9022fe942a3d3fbb11433e152676 Mon Sep 17 00:00:00 2001 From: "John Molakvoæ (skjnldsv)" Date: Fri, 31 Jul 2020 09:26:43 +0200 Subject: Bump compiled files MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: John Molakvoæ (skjnldsv) --- apps/files_trashbin/src/app.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'apps/files_trashbin/src') diff --git a/apps/files_trashbin/src/app.js b/apps/files_trashbin/src/app.js index 53d9e33bb4d..38bd6b4c672 100644 --- a/apps/files_trashbin/src/app.js +++ b/apps/files_trashbin/src/app.js @@ -20,7 +20,7 @@ OCA.Trashbin.App = { /** @type {OC.Files.Client} */ client: null, - initialize: function($el) { + initialize($el) { if (this._initialized) { return } @@ -60,7 +60,7 @@ OCA.Trashbin.App = { ) }, - _createFileActions: function() { + _createFileActions() { const client = this.client const fileActions = new OCA.Files.FileActions() fileActions.register('dir', 'Open', OC.PERMISSION_READ, '', function(filename, context) { @@ -77,7 +77,7 @@ OCA.Trashbin.App = { mime: 'all', permissions: OC.PERMISSION_READ, iconClass: 'icon-history', - actionHandler: function(filename, context) { + actionHandler(filename, context) { const fileList = context.fileList const tr = fileList.findFileEl(filename) fileList.showFileBusyState(tr, true) @@ -99,14 +99,14 @@ OCA.Trashbin.App = { mime: 'all', permissions: OC.PERMISSION_READ, iconClass: 'icon-delete', - render: function(actionSpec, isDefault, context) { + render(actionSpec, isDefault, context) { const $actionLink = fileActions._makeActionLink(actionSpec, context) $actionLink.attr('original-title', t('files_trashbin', 'Delete permanently')) $actionLink.children('img').attr('alt', t('files_trashbin', 'Delete permanently')) context.$file.find('td:last').append($actionLink) return $actionLink }, - actionHandler: function(filename, context) { + actionHandler(filename, context) { const fileList = context.fileList $('.tipsy').remove() const tr = fileList.findFileEl(filename) -- cgit v1.2.3