Browse Source
fix sort sort function of files multiple selection actions
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
pull/28164/head
Julien Veyssier
4 years ago
No known key found for this signature in database
GPG Key ID: 4141FEE162030638
1 changed files with
1 additions and
1 deletions
-
apps/files/js/filelist.js
|
|
|
@ -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(); |
|
|
|
|