Skip to content

Commit

Permalink
using window.CRM.root as prefix for api path
Browse files Browse the repository at this point in the history
  • Loading branch information
DawoudIO committed Feb 21, 2016
1 parent c2d5614 commit 34c8b59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion churchinfo/PersonView.php
Original file line number Diff line number Diff line change
Expand Up @@ -834,7 +834,7 @@ function GroupRemove( Group, Person ) {
if ( answer )
$.ajax({
method: "POST",
url: "/api/groups/"+Group+"/removeuser/"+Person
url: window.CRM.root + "/api/groups/"+Group+"/removeuser/"+Person
}).done(function (data){
location.reload();
});
Expand Down

0 comments on commit 34c8b59

Please sign in to comment.