mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-02 07:27:04 +00:00
[lib/dir/file sort] bugfix for new interaction
This commit is contained in:
@@ -139,7 +139,7 @@ define([
|
||||
},
|
||||
|
||||
sortByName: function() {
|
||||
$('.by-time .sort-icon').hide();
|
||||
$('.by-time .sort-icon', this.$table).hide();
|
||||
var repos = this.repos;
|
||||
var el = $('.by-name .sort-icon', this.$table);
|
||||
repos.comparator = function(a, b) { // a, b: model
|
||||
@@ -158,7 +158,7 @@ define([
|
||||
},
|
||||
|
||||
sortByTime: function() {
|
||||
$('.by-name .sort-icon').hide();
|
||||
$('.by-name .sort-icon', this.$table).hide();
|
||||
var repos = this.repos;
|
||||
var el = $('.by-time .sort-icon', this.$table);
|
||||
repos.comparator = function(a, b) { // a, b: model
|
||||
|
Reference in New Issue
Block a user