Skip to content

Commit

Permalink
Allow for editing of the post body when using PUT, since the server-s…
Browse files Browse the repository at this point in the history
…ide will send it on, if present.
  • Loading branch information
stympy authored and defunkt committed Mar 20, 2011
1 parent 7a36e8b commit 4f4b4f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/js/hurl.js
Expand Up @@ -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()
Expand Down

0 comments on commit 4f4b4f5

Please sign in to comment.