mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-03-21 00:47:46 +01:00
we want to make POST requests here…
This commit is contained in:
parent
b65c60ea76
commit
9fad73341e
1 changed files with 1 additions and 0 deletions
|
@ -21,6 +21,7 @@ $(document).on "click", "button[name=qb-ask]", ->
|
||||||
true
|
true
|
||||||
$.ajax
|
$.ajax
|
||||||
url: '/ajax/ask' # TODO: find a way to use rake routes instead of hardcoding them here
|
url: '/ajax/ask' # TODO: find a way to use rake routes instead of hardcoding them here
|
||||||
|
type: 'POST'
|
||||||
data:
|
data:
|
||||||
rcpt: $("input[name=qb-to]").val()
|
rcpt: $("input[name=qb-to]").val()
|
||||||
question: $("textarea[name=qb-question]").val()
|
question: $("textarea[name=qb-question]").val()
|
||||||
|
|
Loading…
Reference in a new issue