added map to address https://github.com/swagger-api/swagger-js/issues/619
This commit is contained in:
@@ -327,7 +327,7 @@ SwaggerUi.Views.OperationView = Backbone.View.extend({
|
|||||||
|
|
||||||
opts.useJQuery = true;
|
opts.useJQuery = true;
|
||||||
map.parameterContentType = 'multipart/form-data';
|
map.parameterContentType = 'multipart/form-data';
|
||||||
|
this.map = map;
|
||||||
return this.model.execute(map, opts, this.showCompleteStatus, this.showErrorStatus, this);
|
return this.model.execute(map, opts, this.showCompleteStatus, this.showErrorStatus, this);
|
||||||
} else {
|
} else {
|
||||||
this.map = map;
|
this.map = map;
|
||||||
|
|||||||
Reference in New Issue
Block a user