From 6abc39dadf092d312c544b2bb9ef763ace9b6457 Mon Sep 17 00:00:00 2001 From: mattab Date: Tue, 13 May 2014 14:20:13 +1200 Subject: [PATCH] Trying to set module + method as GET parameters to overwrite any existing GET param. Refs #5127 To test: - apply this patch - delete piwik/tmp/assets/* - try again if it's working? --- plugins/Zeitgeist/javascripts/ajaxHelper.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/plugins/Zeitgeist/javascripts/ajaxHelper.js b/plugins/Zeitgeist/javascripts/ajaxHelper.js index bb3eed3ca6b..99ff1c22152 100644 --- a/plugins/Zeitgeist/javascripts/ajaxHelper.js +++ b/plugins/Zeitgeist/javascripts/ajaxHelper.js @@ -182,9 +182,12 @@ function ajaxHelper() { this.addParams({ module: 'API', method: 'API.getBulkRequest', - urls: urls, format: 'json' - }, 'post'); + }, 'get'); + + this.addParams({ + urls: urls + }, 'post') }; /**