Skip to content

Commit

Permalink
Merge pull request #170 from nextcloud/backport/169/stable27
Browse files Browse the repository at this point in the history
[stable27] Replace "Unselect" with "Unselect all" in right click menu
  • Loading branch information
artonge committed Jul 6, 2023
2 parents 16032da + 8849872 commit 44bd4da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/files.js
Expand Up @@ -59,8 +59,8 @@
if (currentFile.hasClass('selected')) {
menu.find('ul').html('');

addNewOption('Check', 'category-disabled', t(appName, 'Unselect'), function () {
$(currentFile.find('input.selectCheckBox')).click();
addNewOption('Check', 'category-disabled', t(appName, 'Unselect all'), function () {
currentFile.closest('tbody').find('tr input.selectCheckBox:checked').trigger('click')
});

$.each($('.selectedActions:not(.hidden) .menu-center li:not(.hidden)'), function (i, selectedAction) {
Expand Down

0 comments on commit 44bd4da

Please sign in to comment.