fix for #297, enabled throbber

This commit is contained in:
Tony Tam
2013-09-03 12:41:26 -07:00
parent 6c1de0b560
commit 73c89ba3f6
3 changed files with 4 additions and 1 deletions

1
dist/swagger-ui.js vendored
View File

@@ -1562,6 +1562,7 @@ helpers = this.merge(helpers, Handlebars.helpers); data = data || {};
}
opts.responseContentType = $("div select[name=responseContentType]", $(this.el)).val();
opts.requestContentType = $("div select[name=parameterContentType]", $(this.el)).val();
$(".response_throbber", $(this.el)).show();
return this.model["do"](map, opts, this.showCompleteStatus, this.showErrorStatus, this);
}
};