Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Steur <thomas.steur@gmail.com>2015-09-10 17:51:41 +0300
committersgiehl <stefan@piwik.org>2015-10-06 18:25:27 +0300
commitc7928e4f7f83fd60d8a9a1f7da4b8b267e081c0b (patch)
treecb6958891cdb81560fc04386bd0e60aa80d9f303 /plugins/Annotations
parentd8df02c63a216a6ed7810d32dbf9d875b9364dc4 (diff)
new API to make checkTokenInUrl easier
Diffstat (limited to 'plugins/Annotations')
-rwxr-xr-xplugins/Annotations/javascripts/annotations.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/Annotations/javascripts/annotations.js b/plugins/Annotations/javascripts/annotations.js
index 28adbc126b..90ebee273c 100755
--- a/plugins/Annotations/javascripts/annotations.js
+++ b/plugins/Annotations/javascripts/annotations.js
@@ -45,6 +45,7 @@
var ajaxRequest = new ajaxHelper();
ajaxRequest.addParams(ajaxParams, 'get');
+ ajaxRequest.withTokenInUrl();
ajaxRequest.setCallback(callback);
ajaxRequest.setFormat('html');
ajaxRequest.send(false);
@@ -67,6 +68,7 @@
var ajaxRequest = new ajaxHelper();
ajaxRequest.addParams(ajaxParams, 'get');
+ ajaxRequest.withTokenInUrl();
ajaxRequest.setCallback(callback);
ajaxRequest.setFormat('html');
ajaxRequest.send(false);
@@ -86,6 +88,7 @@
var ajaxRequest = new ajaxHelper();
ajaxRequest.addParams(ajaxParams, 'get');
+ ajaxRequest.withTokenInUrl();
ajaxRequest.setCallback(callback);
ajaxRequest.setFormat('html');
ajaxRequest.send(false);