Merge "GUI hangs on creation of project in User creation form" into stable/train

This commit is contained in:
Zuul 2020-01-06 15:22:10 +00:00 committed by Gerrit Code Review
commit e106a1126f
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)]