1
0
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:
llj
2015-07-11 14:51:26 +08:00
parent f9282585b8
commit 1a406f9b26
4 changed files with 16 additions and 15 deletions

View File

@@ -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