diff options
author | Thomas Steur <thomas.steur@gmail.com> | 2015-09-10 17:51:41 +0300 |
---|---|---|
committer | sgiehl <stefan@piwik.org> | 2015-10-06 18:25:27 +0300 |
commit | c7928e4f7f83fd60d8a9a1f7da4b8b267e081c0b (patch) | |
tree | cb6958891cdb81560fc04386bd0e60aa80d9f303 /plugins/Annotations/javascripts | |
parent | d8df02c63a216a6ed7810d32dbf9d875b9364dc4 (diff) |
new API to make checkTokenInUrl easier
Diffstat (limited to 'plugins/Annotations/javascripts')
-rwxr-xr-x | plugins/Annotations/javascripts/annotations.js | 3 |
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); |