Allow a user to edit its profile or avatar from a member popover

Fixes the data context on the member popover in the details pane. Also
change the way Popover detect if the click is initiated from a parent
popover -- from reading Blaze context, to looking at the event target
parents.
This commit is contained in:
Maxime Quandalle 2015-06-19 14:39:38 +02:00
parent fad4cba5e2
commit 8cf9ec2660
8 changed files with 70 additions and 55 deletions

View file

@ -24,7 +24,7 @@ template(name="editProfilePopup")
form
label
| {{_ "fullname"}}
input.js-profile-fullname(type="text" value=profile.name autofocus)
input.js-profile-fullname(type="text" value=profile.fullname autofocus)
label
| {{_ "username"}}
input.js-profile-username(type="text" value=username)