diff options
author | Camil Staps | 2017-09-20 17:12:43 +0200 |
---|---|---|
committer | Camil Staps | 2017-09-20 17:12:43 +0200 |
commit | e661ce344127ca8acd1300746c5132098578fab7 (patch) | |
tree | a0d55336f6d23d24ac08400c9846e30ca529b2af /public/js/hebrewparsetrainer.js | |
parent | Hide top users on some pages (diff) |
Use POST for long queries; change request to TEXT type for the same reason
Diffstat (limited to 'public/js/hebrewparsetrainer.js')
-rw-r--r-- | public/js/hebrewparsetrainer.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/public/js/hebrewparsetrainer.js b/public/js/hebrewparsetrainer.js index e5666be..775285d 100644 --- a/public/js/hebrewparsetrainer.js +++ b/public/js/hebrewparsetrainer.js @@ -155,7 +155,9 @@ $(document).ready(function(){ var roots = $('select[name="root"]').val(); $.ajax('verb/random/', { + method: 'POST', data: { + _token: $('#csrf').val(), stem: $.makeArray(stems).join(), tense: $.makeArray(tenses).join(), root: $.makeArray(roots).join() |