diff options
author | Christoph Wurst <ChristophWurst@users.noreply.github.com> | 2019-12-19 14:58:24 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-19 14:58:24 +0100 |
commit | aa46fc26a46cc6b375ba732bcf3e0dc04a08a2f7 (patch) | |
tree | 12ad857932bd82db182531cf17b9dcbfdd4400a2 /apps/files_sharing/js/app.js | |
parent | 5a986f02a33bd1f54fd951af7dc5a1fed02b8340 (diff) | |
parent | ec01e0a790448fff38364f629a4de4edb5d465bf (diff) | |
download | nextcloud-server-aa46fc26a46cc6b375ba732bcf3e0dc04a08a2f7.tar.gz nextcloud-server-aa46fc26a46cc6b375ba732bcf3e0dc04a08a2f7.zip |
Merge pull request #17705 from nextcloud/dependabot/npm_and_yarn/eslint-config-nextcloud-0.1.0
Bump eslint-config-nextcloud from 0.0.6 to 0.1.0
Diffstat (limited to 'apps/files_sharing/js/app.js')
-rw-r--r-- | apps/files_sharing/js/app.js | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/apps/files_sharing/js/app.js b/apps/files_sharing/js/app.js index 29cd3385c3a..6cf7a805ada 100644 --- a/apps/files_sharing/js/app.js +++ b/apps/files_sharing/js/app.js @@ -38,7 +38,7 @@ OCA.Sharing.App = { // The file list is created when a "show" event is handled, so // it should be marked as "shown" like it would have been done // if handling the event with the file list already created. - shown: true + shown: true, } ) @@ -64,7 +64,7 @@ OCA.Sharing.App = { // The file list is created when a "show" event is handled, so // it should be marked as "shown" like it would have been done // if handling the event with the file list already created. - shown: true + shown: true, } ) @@ -90,7 +90,7 @@ OCA.Sharing.App = { // The file list is created when a "show" event is handled, so // it should be marked as "shown" like it would have been done // if handling the event with the file list already created. - shown: true + shown: true, } ) @@ -117,7 +117,7 @@ OCA.Sharing.App = { // The file list is created when a "show" event is handled, so // it should be marked as "shown" like it would have been done // if handling the event with the file list already created. - shown: true + shown: true, } ) @@ -142,7 +142,7 @@ OCA.Sharing.App = { // The file list is created when a "show" event is handled, so // it should be marked as "shown" like it would have been done // if handling the event with the file list already created. - shown: true + shown: true, } ) @@ -202,7 +202,7 @@ OCA.Sharing.App = { _createFileActions: function() { // inherit file actions from the files app - var fileActions = new OCA.Files.FileActions() + const fileActions = new OCA.Files.FileActions() // note: not merging the legacy actions because legacy apps are not // compatible with the sharing overview and need to be adapted first fileActions.registerDefaultActions() @@ -227,7 +227,7 @@ OCA.Sharing.App = { }, _restoreShareAction: function() { - var fileActions = new OCA.Files.FileActions() + const fileActions = new OCA.Files.FileActions() fileActions.registerAction({ name: 'Restore', displayName: '', @@ -237,14 +237,14 @@ OCA.Sharing.App = { iconClass: 'icon-history', type: OCA.Files.FileActions.TYPE_INLINE, actionHandler: function(fileName, context) { - var shareId = context.$file.data('shareId') + const shareId = context.$file.data('shareId') $.post(OC.linkToOCS('apps/files_sharing/api/v1/deletedshares', 2) + shareId) .success(function(result) { context.fileList.remove(context.fileInfoModel.attributes.name) }).fail(function() { OC.Notification.showTemporary(t('files_sharing', 'Something happened. Unable to restore the share.')) }) - } + }, }) return fileActions }, @@ -269,7 +269,7 @@ OCA.Sharing.App = { _extendFileList: function(fileList) { // remove size column from summary fileList.fileSummary.$el.find('.filesize').remove() - } + }, } $(document).ready(function() { |