Skip to content

Commit

Permalink
Send also the actor_id to the TrackingSystem
Browse files Browse the repository at this point in the history
  • Loading branch information
agordillo committed Jan 23, 2015
1 parent a525696 commit 8dd85c4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions js/VISH.TrackingSystem.js
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,10 @@ VISH.TrackingSystem = (function(V,$,undefined){
data["authenticity_token"] = V.User.getToken();
}

if((typeof _user != "undefined")&&(typeof _user.id != "undefined")){
data["actor_id"] = _user.id;
}

if(typeof _rTrse != "undefined"){
data["tracking_system_entry_id"] = _rTrse;
}
Expand Down

0 comments on commit 8dd85c4

Please sign in to comment.