Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit 4f4b4f5790adafed0982383d6e858282b3f74c59 1 parent 7a36e8b
@stympy stympy authored defunkt committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  public/js/hurl.js
View
2  public/js/hurl.js
@@ -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()
Please sign in to comment.
Something went wrong with that request. Please try again.