Skip to content
Extraits de code Groupes Projets
Valider 3e0b11db rédigé par mattpiwik's avatar mattpiwik
Parcourir les fichiers

Fixes #2399

git-svn-id: http://dev.piwik.org/svn/trunk@4633 59fd770c-687e-43c8-a1e3-f5a4ff64c105
parent d076de5d
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -74,6 +74,7 @@ function initManagePdf() ...@@ -74,6 +74,7 @@ function initManagePdf()
parameters.reports = reports; parameters.reports = reports;
var ajaxRequest = piwikHelper.getStandardAjaxConf(); var ajaxRequest = piwikHelper.getStandardAjaxConf();
ajaxRequest.type = 'POST';
ajaxRequest.data = parameters; ajaxRequest.data = parameters;
$.ajax( ajaxRequest ); $.ajax( ajaxRequest );
return false; return false;
...@@ -83,6 +84,7 @@ function initManagePdf() ...@@ -83,6 +84,7 @@ function initManagePdf()
$('a[name=linkEmailNow]').click(function(){ $('a[name=linkEmailNow]').click(function(){
var idReport = $(this).attr('idreport'); var idReport = $(this).attr('idreport');
var ajaxRequest = piwikHelper.getStandardAjaxConf(); var ajaxRequest = piwikHelper.getStandardAjaxConf();
ajaxRequest.type = 'POST';
parameters = getPDFAjaxRequest(idReport, 'PDFReports.sendEmailReport'); parameters = getPDFAjaxRequest(idReport, 'PDFReports.sendEmailReport');
parameters.idReport = idReport; parameters.idReport = idReport;
ajaxRequest.data = parameters; ajaxRequest.data = parameters;
...@@ -95,6 +97,7 @@ function initManagePdf() ...@@ -95,6 +97,7 @@ function initManagePdf()
function onDelete() function onDelete()
{ {
var ajaxRequest = piwikHelper.getStandardAjaxConf(); var ajaxRequest = piwikHelper.getStandardAjaxConf();
ajaxRequest.type = 'POST';
parameters = getPDFAjaxRequest(idReport, 'PDFReports.deleteReport'); parameters = getPDFAjaxRequest(idReport, 'PDFReports.deleteReport');
parameters.idReport = idReport; parameters.idReport = idReport;
ajaxRequest.data = parameters; ajaxRequest.data = parameters;
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter