1
0
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:
xiez
2015-05-11 15:32:26 +08:00
5 changed files with 11 additions and 0 deletions

View File

@@ -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 () {

View File

@@ -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() {

View File

@@ -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;
}
});

View File

@@ -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;
}
});

View File

@@ -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() {