*/
var GroupList = {
+ activeGID: '',
+
addGroup: function(gid, usercount) {
var li = $('li[data-gid]').last().clone();
var ul = $('li[data-gid]').first().parent();
groupLiElement.find('span[class=usercount]').first().text(usercount);
},
+ getCurrentGID: function() {
+ return GroupList.activeGID;
+ },
+
sortGroups: function(usercount) {
var lis = $('li[data-gid]').filterAttr('data-usercount', usercount.toString()).get();
var ul = $(lis).first().parent();
},
showGroup: function (gid) {
+ GroupList.activeGID = gid;
UserList.empty();
UserList.update(gid);
$('#app-navigation li').removeClass('active');