mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-18 16:36:15 +00:00
Merge pull request #580 from haiwen/sort_fix
[dir view] bugfix for 'sort'
This commit is contained in:
@@ -465,6 +465,7 @@ define([
|
||||
this.$dirent_list.empty();
|
||||
dirents.each(this.addOne, this);
|
||||
el.toggleClass('icon-caret-up icon-caret-down');
|
||||
dirents.comparator = null;
|
||||
},
|
||||
|
||||
sortByTime: function () {
|
||||
@@ -484,6 +485,7 @@ define([
|
||||
this.$dirent_list.empty();
|
||||
dirents.each(this.addOne, this);
|
||||
el.toggleClass('icon-caret-up icon-caret-down');
|
||||
dirents.comparator = null;
|
||||
},
|
||||
|
||||
select: function () {
|
||||
|
@@ -115,6 +115,8 @@ define([
|
||||
this.$tableBody.empty();
|
||||
repos.each(this.addOne, this);
|
||||
el.toggleClass('icon-caret-up icon-caret-down');
|
||||
repos.comparator = null;
|
||||
|
||||
},
|
||||
|
||||
sortByTime: function() {
|
||||
@@ -131,6 +133,7 @@ define([
|
||||
this.$tableBody.empty();
|
||||
repos.each(this.addOne, this);
|
||||
el.toggleClass('icon-caret-up icon-caret-down');
|
||||
repos.comparator = null;
|
||||
},
|
||||
|
||||
hide: function() {
|
||||
|
@@ -99,6 +99,7 @@ define([
|
||||
this.$tableBody.empty();
|
||||
repos.each(this.addOne, this);
|
||||
el.toggleClass('icon-caret-up icon-caret-down');
|
||||
repos.comparator = null;
|
||||
},
|
||||
|
||||
sortByTime: function() {
|
||||
@@ -115,6 +116,7 @@ define([
|
||||
this.$tableBody.empty();
|
||||
repos.each(this.addOne, this);
|
||||
el.toggleClass('icon-caret-up icon-caret-down');
|
||||
repos.comparator = null;
|
||||
}
|
||||
|
||||
});
|
||||
|
@@ -90,6 +90,7 @@ define([
|
||||
this.$tableBody.empty();
|
||||
repos.each(this.addOne, this);
|
||||
el.toggleClass('icon-caret-up icon-caret-down');
|
||||
repos.comparator = null;
|
||||
},
|
||||
|
||||
sortByTime: function() {
|
||||
@@ -106,6 +107,7 @@ define([
|
||||
this.$tableBody.empty();
|
||||
repos.each(this.addOne, this);
|
||||
el.toggleClass('icon-caret-up icon-caret-down');
|
||||
repos.comparator = null;
|
||||
}
|
||||
|
||||
});
|
||||
|
@@ -95,6 +95,7 @@ define([
|
||||
this.$tableBody.empty();
|
||||
repos.each(this.addOne, this);
|
||||
el.toggleClass('icon-caret-up icon-caret-down');
|
||||
repos.comparator = null;
|
||||
},
|
||||
|
||||
sortByTime: function() {
|
||||
@@ -111,6 +112,7 @@ define([
|
||||
this.$tableBody.empty();
|
||||
repos.each(this.addOne, this);
|
||||
el.toggleClass('icon-caret-up icon-caret-down');
|
||||
repos.comparator = null;
|
||||
},
|
||||
|
||||
hide: function() {
|
||||
|
Reference in New Issue
Block a user