|
|
|
@ -180,8 +180,9 @@ $(document).ready(function() {
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
$('#menu [data-section="navigation"] ul').html($('#main-nav').html() + ($('#search-menu').html() || '') + ($('#logged-out-menu').html() || ''));
|
|
|
|
|
$('#menu [data-section="profile"] ul').html($('#user-control-list').html())
|
|
|
|
|
.find('[component="user/status"]').remove();
|
|
|
|
|
|
|
|
|
|
$('#user-control-list').children().clone(true, true).appendTo($('#menu [data-section="profile"] ul'));
|
|
|
|
|
$('#menu [data-section="profile"] ul').find('[component="user/status"]').remove();
|
|
|
|
|
|
|
|
|
|
socket.on('event:user_status_change', function(data) {
|
|
|
|
|
app.updateUserStatus($('#menu [component="user/status"]'), data.status);
|
|
|
|
|