diff options
author | Vincent Petry <vincent@nextcloud.com> | 2022-07-27 14:29:26 +0200 |
---|---|---|
committer | Vincent Petry <vincent@nextcloud.com> | 2022-07-27 14:29:26 +0200 |
commit | 00066cbeaf81185a34f5c2a660cef54ff5737487 (patch) | |
tree | e133d9f3000f498d485023f82909e50572cd5e6d /apps/files/js | |
parent | fc276ba42f2c4a27e6ee33b6ec3ed427b4f01f75 (diff) | |
download | nextcloud-server-00066cbeaf81185a34f5c2a660cef54ff5737487.tar.gz nextcloud-server-00066cbeaf81185a34f5c2a660cef54ff5737487.zip |
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 <vincent@nextcloud.com>
Diffstat (limited to 'apps/files/js')
-rw-r--r-- | apps/files/js/filelist.js | 2 | ||||
-rw-r--r-- | apps/files/js/files.js | 3 |
2 files changed, 1 insertions, 4 deletions
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) { |