turbograft 0.1.7 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/assets/javascripts/turbograft/remote.coffee +1 -3
- data/lib/turbograft/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 32b31520529d838a4c5045f602072c593e2934d7
|
4
|
+
data.tar.gz: 2e4a8c36bfe9f8a1160611f3fc43e869b9c42d4f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7a3d5f7aa1f4ae0f8d09eb21db59baf3389af2b19859df422a53049ebae852a8af73d211ae940bc227ee457153a7a9ead49be1182ab08b78002fd82948adcb23
|
7
|
+
data.tar.gz: 694571fbbecaf72f7d8e1d0b2ac13d8531916e9bb5d41036e8363735d8e3636c8ba0bb949bc813fdeabbd57aea87fec55751a0f71d28cd3527db99c22607ff8e
|
@@ -58,9 +58,7 @@ class TurboGraft.Remote
|
|
58
58
|
else
|
59
59
|
formData = ''
|
60
60
|
|
61
|
-
if formData instanceof FormData
|
62
|
-
formData.append("_method", @opts.httpRequestType) if @opts.httpRequestType
|
63
|
-
else
|
61
|
+
if formData not instanceof FormData
|
64
62
|
@contentType = "application/x-www-form-urlencoded; charset=UTF-8"
|
65
63
|
formData = @formAppend(formData, "_method", @opts.httpRequestType) if formData.indexOf("_method") == -1 && @opts.httpRequestType && @actualRequestType != 'GET'
|
66
64
|
|
data/lib/turbograft/version.rb
CHANGED