added support for body params with name other than

This commit is contained in:
Tony Tam
2014-10-17 08:51:15 -07:00
parent b0301d6ee3
commit c6fb33a9c7
6 changed files with 65 additions and 64 deletions

View File

@@ -158,7 +158,7 @@ class OperationView extends Backbone.View
for o in form.find("textarea")
if(o.value? && jQuery.trim(o.value).length > 0)
map["body"] = o.value
map[o.name] = o.value
for o in form.find("select")
val = this.getSelectedValue o