aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin/src
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2020-07-31 09:26:43 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2020-07-31 09:26:43 +0200
commit0f8aca9d87db9022fe942a3d3fbb11433e152676 (patch)
tree5b36724719611ebb87b3d9290a51475f32b48e64 /apps/files_trashbin/src
parentfc31cb8bf2d6cf7ee7af46af38e1b06002f7fb26 (diff)
downloadnextcloud-server-0f8aca9d87db9022fe942a3d3fbb11433e152676.tar.gz
nextcloud-server-0f8aca9d87db9022fe942a3d3fbb11433e152676.zip
Bump compiled files
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/files_trashbin/src')
-rw-r--r--apps/files_trashbin/src/app.js10
1 files changed, 5 insertions, 5 deletions
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)