This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository pollen. See https://gitlab.nuiton.org/chorem/pollen.git commit a06ad0760f88bcaaf9a3f727b1d8abd8e71c5b8e Author: Sylvain Bavencoff <bavencoff@codelutin.com> Date: Thu Apr 19 11:50:30 2018 +0200 correction tracker piwik --- pollen-ui-riot-js/src/main/web/js/PageTracker.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pollen-ui-riot-js/src/main/web/js/PageTracker.js b/pollen-ui-riot-js/src/main/web/js/PageTracker.js index 48cf4053..580f75fc 100644 --- a/pollen-ui-riot-js/src/main/web/js/PageTracker.js +++ b/pollen-ui-riot-js/src/main/web/js/PageTracker.js @@ -26,10 +26,11 @@ class PageTracker { window._paq = window._paq || []; if (window.pollenConf.piwikUrl && window.pollenConf.piwikSiteId) { window._paq.push([function() { + let _this = this; function getOriginalVisitorCookieTimeout() { var now = new Date(), nowTs = Math.round(now.getTime() / 1000), - visitorInfo = this.getVisitorInfo(); + visitorInfo = _this.getVisitorInfo(); var createTs = parseInt(visitorInfo[2], 10); var cookieTimeout = 33696000; // 13 mois en secondes var originalTimeout = createTs + cookieTimeout - nowTs; -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.