mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-02 15:38:15 +00:00
fix bug when sort repo
This commit is contained in:
@@ -115,6 +115,8 @@ define([
|
|||||||
this.$tableBody.empty();
|
this.$tableBody.empty();
|
||||||
repos.each(this.addOne, this);
|
repos.each(this.addOne, this);
|
||||||
el.toggleClass('icon-caret-up icon-caret-down');
|
el.toggleClass('icon-caret-up icon-caret-down');
|
||||||
|
repos.comparator = null;
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
sortByTime: function() {
|
sortByTime: function() {
|
||||||
@@ -131,6 +133,7 @@ define([
|
|||||||
this.$tableBody.empty();
|
this.$tableBody.empty();
|
||||||
repos.each(this.addOne, this);
|
repos.each(this.addOne, this);
|
||||||
el.toggleClass('icon-caret-up icon-caret-down');
|
el.toggleClass('icon-caret-up icon-caret-down');
|
||||||
|
repos.comparator = null;
|
||||||
},
|
},
|
||||||
|
|
||||||
hide: function() {
|
hide: function() {
|
||||||
|
@@ -99,6 +99,7 @@ define([
|
|||||||
this.$tableBody.empty();
|
this.$tableBody.empty();
|
||||||
repos.each(this.addOne, this);
|
repos.each(this.addOne, this);
|
||||||
el.toggleClass('icon-caret-up icon-caret-down');
|
el.toggleClass('icon-caret-up icon-caret-down');
|
||||||
|
repos.comparator = null;
|
||||||
},
|
},
|
||||||
|
|
||||||
sortByTime: function() {
|
sortByTime: function() {
|
||||||
@@ -115,6 +116,7 @@ define([
|
|||||||
this.$tableBody.empty();
|
this.$tableBody.empty();
|
||||||
repos.each(this.addOne, this);
|
repos.each(this.addOne, this);
|
||||||
el.toggleClass('icon-caret-up icon-caret-down');
|
el.toggleClass('icon-caret-up icon-caret-down');
|
||||||
|
repos.comparator = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
|
@@ -90,6 +90,7 @@ define([
|
|||||||
this.$tableBody.empty();
|
this.$tableBody.empty();
|
||||||
repos.each(this.addOne, this);
|
repos.each(this.addOne, this);
|
||||||
el.toggleClass('icon-caret-up icon-caret-down');
|
el.toggleClass('icon-caret-up icon-caret-down');
|
||||||
|
repos.comparator = null;
|
||||||
},
|
},
|
||||||
|
|
||||||
sortByTime: function() {
|
sortByTime: function() {
|
||||||
@@ -106,6 +107,7 @@ define([
|
|||||||
this.$tableBody.empty();
|
this.$tableBody.empty();
|
||||||
repos.each(this.addOne, this);
|
repos.each(this.addOne, this);
|
||||||
el.toggleClass('icon-caret-up icon-caret-down');
|
el.toggleClass('icon-caret-up icon-caret-down');
|
||||||
|
repos.comparator = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
|
@@ -95,6 +95,7 @@ define([
|
|||||||
this.$tableBody.empty();
|
this.$tableBody.empty();
|
||||||
repos.each(this.addOne, this);
|
repos.each(this.addOne, this);
|
||||||
el.toggleClass('icon-caret-up icon-caret-down');
|
el.toggleClass('icon-caret-up icon-caret-down');
|
||||||
|
repos.comparator = null;
|
||||||
},
|
},
|
||||||
|
|
||||||
sortByTime: function() {
|
sortByTime: function() {
|
||||||
@@ -111,6 +112,7 @@ define([
|
|||||||
this.$tableBody.empty();
|
this.$tableBody.empty();
|
||||||
repos.each(this.addOne, this);
|
repos.each(this.addOne, this);
|
||||||
el.toggleClass('icon-caret-up icon-caret-down');
|
el.toggleClass('icon-caret-up icon-caret-down');
|
||||||
|
repos.comparator = null;
|
||||||
},
|
},
|
||||||
|
|
||||||
hide: function() {
|
hide: function() {
|
||||||
|
Reference in New Issue
Block a user