1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-08-31 14:42:10 +00:00

[group dir view] modification

This commit is contained in:
llj
2016-01-13 16:04:04 +08:00
parent 13ea3fcb6a
commit 53fddee277
2 changed files with 14 additions and 9 deletions

View File

@@ -664,6 +664,18 @@ define([
} else {
return bytes + ' B';
}
},
groupId2Name: function(group_id) {
var group_name;
var groups = app.pageOptions.groups;
for (var i = 0, len = groups.length; i < len; i++) {
if (group_id == groups[i].id) {
group_name = groups[i].name;
break;
}
}
return group_name;
}
}