Stop bad call to users/update
This commit is contained in:
parent
75354c1aba
commit
4b795cc719
1 changed files with 3 additions and 3 deletions
|
|
@ -105,11 +105,11 @@ $(document).ready(function(){
|
|||
return baseURL;
|
||||
}
|
||||
|
||||
function performAspectUpdate(home){
|
||||
function performAspectUpdate(){
|
||||
// update the open aspects in the user
|
||||
updateURL = "/user";
|
||||
updateURL += '?';
|
||||
if(home == 'home'){
|
||||
if(selectedGUIDS.length == 0){
|
||||
updateURL += 'user[a_ids][]=home';
|
||||
} else {
|
||||
for(i=0; i < selectedGUIDS.length; i++){
|
||||
|
|
@ -125,7 +125,7 @@ $(document).ready(function(){
|
|||
}
|
||||
|
||||
if($("a.home_selector").parent().hasClass("selected")){
|
||||
performAspectUpdate("home");
|
||||
performAspectUpdate();
|
||||
}
|
||||
|
||||
function performAjax(newURL) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue