|
|
@@ -1775,7 +1775,7 @@ templates['status_code'] = template(function (Handlebars,depth0,helpers,partials |
|
|
|
}; |
|
|
|
|
|
|
|
OperationView.prototype.submitOperation = function(e) { |
|
|
|
var error_free, form, map, o, opts, _i, _len, _ref; |
|
|
|
var error_free, form, map, o, opts, _i, _j, _len, _len1, _ref, _ref1; |
|
|
|
if (e != null) { |
|
|
|
e.preventDefault(); |
|
|
|
} |
|
|
@@ -1806,6 +1806,14 @@ templates['status_code'] = template(function (Handlebars,depth0,helpers,partials |
|
|
|
map[o.name] = o.value; |
|
|
|
} |
|
|
|
} |
|
|
|
_ref1 = form.find(".body-textarea,.parameter"); |
|
|
|
for (_j = 0, _len1 = _ref1.length; _j < _len1; _j++) { |
|
|
|
o = _ref1[_j]; |
|
|
|
if ((o.value != null) && 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]", $(this.el)).val(); |
|
|
|
opts.requestContentType = $("div select[name=parameterContentType]", $(this.el)).val(); |
|
|
|