Just use /users/me to update open aspects
This commit is contained in:
parent
8a419a84a6
commit
0416fa14b2
1 changed files with 1 additions and 1 deletions
|
|
@ -104,7 +104,7 @@ $(document).ready(function(){
|
||||||
|
|
||||||
function performAspectUpdate(home){
|
function performAspectUpdate(home){
|
||||||
// update the open aspects in the user
|
// update the open aspects in the user
|
||||||
updateURL = "/users/" + $('#user_menu').find('div.avatar').children('img').attr("data-owner_id");
|
updateURL = "/users/me";
|
||||||
updateURL += '?';
|
updateURL += '?';
|
||||||
if(home == 'home'){
|
if(home == 'home'){
|
||||||
updateURL += 'user[a_ids][]=home';
|
updateURL += 'user[a_ids][]=home';
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue