This commit is contained in:
Tony Tam
2013-07-16 20:57:26 -07:00
parent 390ee1c781
commit f4d77d7124
5 changed files with 15 additions and 12 deletions

View File

@@ -74,6 +74,11 @@ class OperationView extends Backbone.View
if(o.value? && jQuery.trim(o.value).length > 0)
map[o.name] = o.value
for o in form.find(".body-textarea,.parameter")
if(o.value? && jQuery.trim(o.value).length > 0)
console.log o.name + ", " + o.value
map[o.name] = encodeURI(o.value)
console.log map
opts.responseContentType = $("div select[name=responseContentType]", $(@el)).val()