From: Vincent Petry Date: Wed, 27 Jul 2022 12:29:26 +0000 (+0200) Subject: Remove more legacy ids X-Git-Tag: v25.0.0beta1~54^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fpull%2F33379%2Fhead;p=nextcloud-server.git Remove more legacy ids Remove more unused legacy ids from early ownCloud times. This reduces the number of duplicate ids in the DOM. Signed-off-by: Vincent Petry --- diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js index 4fbf1ac4a25..1530787b83a 100644 --- a/apps/files/js/filelist.js +++ b/apps/files/js/filelist.js @@ -2475,7 +2475,7 @@ * @param show true for enabling, false for disabling */ showActions: function(show){ - this.$el.find('.actions,#file_action_panel').toggleClass('hidden', !show); + this.$el.find('.actions').toggleClass('hidden', !show); if (show){ // make sure to display according to permissions var permissions = this.getDirectoryPermissions(); diff --git a/apps/files/js/files.js b/apps/files/js/files.js index 5f00ce2cb22..1aa39eab523 100644 --- a/apps/files/js/files.js +++ b/apps/files/js/files.js @@ -306,9 +306,6 @@ initialize: function() { Files.bindKeyboardShortcuts(document, $); - // TODO: move file list related code (upload) to OCA.Files.FileList - $('#file_action_panel').attr('activeAction', false); - // drag&drop support using jquery.fileupload // TODO use OC.dialogs $(document).bind('drop dragover', function (e) { diff --git a/apps/files/templates/list.php b/apps/files/templates/list.php index 1b45129195b..13583c23cbf 100644 --- a/apps/files/templates/list.php +++ b/apps/files/templates/list.php @@ -3,7 +3,6 @@
-