Merge "GUI hangs on creation of project in User creation form"
This commit is contained in:
commit
f7313b74c9
@ -208,7 +208,7 @@ class WorkflowView(hz_views.ModalBackdropMixin, generic.TemplateView):
|
|||||||
messages.error(request, msg)
|
messages.error(request, msg)
|
||||||
if "HTTP_X_HORIZON_ADD_TO_FIELD" in self.request.META:
|
if "HTTP_X_HORIZON_ADD_TO_FIELD" in self.request.META:
|
||||||
field_id = self.request.META["HTTP_X_HORIZON_ADD_TO_FIELD"]
|
field_id = self.request.META["HTTP_X_HORIZON_ADD_TO_FIELD"]
|
||||||
response = http.HttpResponse()
|
response = http.HttpResponse(content_type="text/plain")
|
||||||
if workflow.object:
|
if workflow.object:
|
||||||
data = [self.get_object_id(workflow.object),
|
data = [self.get_object_id(workflow.object),
|
||||||
self.get_object_display(workflow.object)]
|
self.get_object_display(workflow.object)]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user