Commit 73c89ba3 authored by Tony Tam's avatar Tony Tam
Browse files

fix for #297, enabled throbber

parent 6c1de0b5
......@@ -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);
}
};
......
This diff is collapsed.
......@@ -96,6 +96,8 @@ class OperationView extends Backbone.View
opts.responseContentType = $("div select[name=responseContentType]", $(@el)).val()
opts.requestContentType = $("div select[name=parameterContentType]", $(@el)).val()
$(".response_throbber", $(@el)).show()
@model.do(map, opts, @showCompleteStatus, @showErrorStatus, @)
success: (response, parent) ->
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment