summaryrefslogtreecommitdiffstats
path: root/apps/bookmarks/js/bookmarksearch.js
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2012-06-10 23:38:26 +0200
committerLukas Reschke <lukas@statuscode.ch>2012-06-11 11:56:11 +0200
commitf8337c9d723039760eecccf68bcb02752551e254 (patch)
tree3dff75ab9af05a2c22aeef2758cc87a6a4d391fa /apps/bookmarks/js/bookmarksearch.js
parentcc653a8a408adfb4d0cd532145668aacd85ad96c (diff)
downloadnextcloud-server-f8337c9d723039760eecccf68bcb02752551e254.tar.gz
nextcloud-server-f8337c9d723039760eecccf68bcb02752551e254.zip
Using POST instead of GET.
Diffstat (limited to 'apps/bookmarks/js/bookmarksearch.js')
-rw-r--r--apps/bookmarks/js/bookmarksearch.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/bookmarks/js/bookmarksearch.js b/apps/bookmarks/js/bookmarksearch.js
index e7a4fb18393..e8f5363c935 100644
--- a/apps/bookmarks/js/bookmarksearch.js
+++ b/apps/bookmarks/js/bookmarksearch.js
@@ -16,6 +16,7 @@ function recordClick(event) {
var jsFileLocation = $('script[src*=bookmarksearch]').attr('src');
jsFileLocation = jsFileLocation.replace('js/bookmarksearch.js', '');
$.ajax({
+ type: 'POST',
url: jsFileLocation + 'ajax/recordClick.php',
data: 'url=' + encodeURI($(this).attr('href')),
});