Permalink
Browse files

Allow for editing of the post body when using PUT, since the server-s…

…ide will send it on, if present.
  • Loading branch information...
stympy authored and defunkt committed Dec 28, 2010
1 parent 7a36e8b commit 4f4b4f5790adafed0982383d6e858282b3f74c59
Showing with 1 addition and 1 deletion.
  1. +1 −1 public/js/hurl.js
View
@@ -104,7 +104,7 @@ $(document).ready(function() {
$('#select-method').change(function() {
$('#select-method option:selected').each(function() {
var method = $(this).attr('value')
- if (method == 'POST'){
+ if (method == 'POST' || method == 'PUT'){
$('#post-params').show()
} else {
$('#post-params').hide()

0 comments on commit 4f4b4f5

Please sign in to comment.