From 8dd85c4103fa70f5dceca7321c4d369a1f07bf6d Mon Sep 17 00:00:00 2001 From: agordillo Date: Fri, 23 Jan 2015 11:30:38 +0100 Subject: [PATCH] Send also the actor_id to the TrackingSystem --- js/VISH.TrackingSystem.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/js/VISH.TrackingSystem.js b/js/VISH.TrackingSystem.js index 45a49103..5cf064b6 100644 --- a/js/VISH.TrackingSystem.js +++ b/js/VISH.TrackingSystem.js @@ -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; }