menubox.addItem('userbox', userbox.$el);
menubox.showFooter(false);
- _kiwi.global.events.emit('usermenu:created', {menu: menubox, userbox: userbox})
+ _kiwi.global.events.emit('usermenu:created', {menu: menubox, userbox: userbox, user: member})
.then(_.bind(function() {
menubox.show();
menu.addItem('userbox', userbox.$el);
menu.showFooter(false);
- _kiwi.global.events.emit('usermenu:created', {menu: menu, userbox: userbox})
+ _kiwi.global.events.emit('usermenu:created', {menu: menu, userbox: userbox, user: member})
.then(_.bind(function() {
menu.show();