mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-17 15:53:28 +00:00
[dir view] bugfix for 'sort'
This commit is contained in:
@@ -465,6 +465,7 @@ define([
|
|||||||
this.$dirent_list.empty();
|
this.$dirent_list.empty();
|
||||||
dirents.each(this.addOne, this);
|
dirents.each(this.addOne, this);
|
||||||
el.toggleClass('icon-caret-up icon-caret-down');
|
el.toggleClass('icon-caret-up icon-caret-down');
|
||||||
|
dirents.comparator = null;
|
||||||
},
|
},
|
||||||
|
|
||||||
sortByTime: function () {
|
sortByTime: function () {
|
||||||
@@ -484,6 +485,7 @@ define([
|
|||||||
this.$dirent_list.empty();
|
this.$dirent_list.empty();
|
||||||
dirents.each(this.addOne, this);
|
dirents.each(this.addOne, this);
|
||||||
el.toggleClass('icon-caret-up icon-caret-down');
|
el.toggleClass('icon-caret-up icon-caret-down');
|
||||||
|
dirents.comparator = null;
|
||||||
},
|
},
|
||||||
|
|
||||||
select: function () {
|
select: function () {
|
||||||
|
Reference in New Issue
Block a user