mirror of
https://github.com/nextcloud/server.git
synced 2026-06-10 17:23:59 -04:00
Merge pull request #41517 from nextcloud/backport/41356/stable26
[stable26] fix(files): prevent redirect on heading column sort
This commit is contained in:
commit
231a0e2d05
1 changed files with 4 additions and 0 deletions
|
|
@ -1226,6 +1226,10 @@
|
|||
if (this.$table.hasClass('multiselect')) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Ensure the url does not change
|
||||
e.preventDefault();
|
||||
|
||||
var $target = $(e.target);
|
||||
var sort;
|
||||
if (!$target.is('a')) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue