better online/offline status handling
This commit is contained in:
parent
3b166eccbb
commit
8a26285c88
11 changed files with 92 additions and 40 deletions
|
|
@ -344,7 +344,12 @@ oml.ui.folders = function() {
|
|||
Ox.print('peering.remove reload list')
|
||||
Ox.Request.clearCache('getUsers');
|
||||
that.updateElement();
|
||||
}
|
||||
},
|
||||
status: function(data) {
|
||||
if (data.id == oml.user.id) {
|
||||
oml.user.online = data.online;
|
||||
}
|
||||
},
|
||||
});
|
||||
|
||||
return that.updateElement();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue