diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2012-06-10 23:38:26 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2012-06-11 11:56:11 +0200 |
commit | f8337c9d723039760eecccf68bcb02752551e254 (patch) | |
tree | 3dff75ab9af05a2c22aeef2758cc87a6a4d391fa /apps/bookmarks/js/bookmarksearch.js | |
parent | cc653a8a408adfb4d0cd532145668aacd85ad96c (diff) | |
download | nextcloud-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.js | 1 |
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')), }); |