Skip to content
Extraits de code Groupes Projets
Valider db60c80d rédigé par Fabian Becker's avatar Fabian Becker
Parcourir les fichiers

Fix image tracker. Falsely showed link to index.php instead of piwik.php

parent dff73043
Branches
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -245,7 +245,8 @@ $(document).ready(function() { ...@@ -245,7 +245,8 @@ $(document).ready(function() {
{ {
// get data ( (("https:" == document.location.protocol)?"https://' + piwikHost + '":"http://' + piwikHost + '") ) // get data ( (("https:" == document.location.protocol)?"https://' + piwikHost + '":"http://' + piwikHost + '") )
var idSite = $('#image-tracker-website .custom_select_main_link').attr('siteid'), var idSite = $('#image-tracker-website .custom_select_main_link').attr('siteid'),
piwikURL = ("https:" == document.location.protocol ? "https://" + piwikHost : "http://" + piwikHost) + document.location.pathname, path = document.location.pathname,
piwikURL = ("https:" == document.location.protocol ? "https://" + piwikHost : "http://" + piwikHost) + path.substring(0, path.lastIndexOf('/')) + '/piwik.php',
actionName = $('#image-tracker-action-name').val(), actionName = $('#image-tracker-action-name').val(),
idGoal = null, idGoal = null,
revenue = null; revenue = null;
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter