Merge "GUI hangs on creation of project in User creation form"

This commit is contained in:
Zuul 2019-12-16 23:31:53 +00:00 committed by Gerrit Code Review
commit f7313b74c9
1 changed files with 1 additions and 1 deletions

View File

@ -208,7 +208,7 @@ class WorkflowView(hz_views.ModalBackdropMixin, generic.TemplateView):
messages.error(request, msg)
if "HTTP_X_HORIZON_ADD_TO_FIELD" in self.request.META:
field_id = self.request.META["HTTP_X_HORIZON_ADD_TO_FIELD"]
response = http.HttpResponse()
response = http.HttpResponse(content_type="text/plain")
if workflow.object:
data = [self.get_object_id(workflow.object),
self.get_object_display(workflow.object)]