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:
@@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user