mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 00:32:29 -04:00
fix sort sort function of files multiple selection actions
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
This commit is contained in:
parent
0d5d3ad9fd
commit
d6b4944c4b
1 changed files with 1 additions and 1 deletions
|
|
@ -1506,7 +1506,7 @@
|
|||
return;
|
||||
}
|
||||
this.fileMultiSelectMenu = new OCA.Files.FileMultiSelectMenu(this.multiSelectMenuItems.sort(function(a, b) {
|
||||
return a.order > b.order
|
||||
return a.order - b.order
|
||||
}));
|
||||
this.fileMultiSelectMenu.render();
|
||||
this.$el.find('.selectedActions .filesSelectMenu').remove();
|
||||
|
|
|
|||
Loading…
Reference in a new issue