Just use /users/me to update open aspects

This commit is contained in:
Raphael Sofaer 2011-03-10 13:03:45 -08:00
parent 8a419a84a6
commit 0416fa14b2

View file

@ -104,7 +104,7 @@ $(document).ready(function(){
function performAspectUpdate(home){
// update the open aspects in the user
updateURL = "/users/" + $('#user_menu').find('div.avatar').children('img').attr("data-owner_id");
updateURL = "/users/me";
updateURL += '?';
if(home == 'home'){
updateURL += 'user[a_ids][]=home';