Permalink
Browse files

Merge pull request #81 from bobbywarner/GRAILS-2839

Changed POST to post for formRemote - GRAILS-2839
  • Loading branch information...
2 parents 7320980 + 86bfbe8 commit b1f415275744642c171a802f3360c6d5d2d27881 @pledbrook pledbrook committed Jul 19, 2011
View
2 ...gsp/src/main/groovy/org/codehaus/groovy/grails/plugins/web/taglib/JavascriptTagLib.groovy
@@ -338,7 +338,7 @@ a 'params' key to the [url] attribute instead.""")
p.prepareAjaxForm(attrs)
def params = [onsubmit:remoteFunction(attrs) + 'return false',
- method: (attrs.method? attrs.method : 'POST'),
+ method: (attrs.method? attrs.method : 'post'),
action: (attrs.action? attrs.action : url instanceof String ? url : createLink(url))]
attrs.remove('url')
params.putAll(attrs)

0 comments on commit b1f4152

Please sign in to comment.