horizon/horizon/forms
Adrian Turjak 72b40d94d0 Correctly set content-type for workflow response
The default content-type is html, and under certain
circumstances like devstack the html has some additional
comments added. Because this specific content is meant
to be parsed as json those extra html comments break the
modal.js code.

We can't set the content-type to json without rewriting parts of
modal.js, as it will will parse it into an object early and then
modal.js will fail as it attempts to parse an object into json.

Change-Id: If5a9ee7fe4273dc368dec7767a55d4467bf6a1a7
Closes-bug: #1824484
(cherry picked from commit 8516de8f61)
2019-05-16 07:55:52 +00:00
..
__init__.py pylint: Drop non-existing IPAddressField 2019-01-15 01:07:04 +09:00
base.py Fix H405 (multi line docstring) warnings (horizon) 2017-06-09 16:04:57 +00:00
fields.py Remove obsolete creation_counter field 2019-02-08 10:30:46 +00:00
views.py Correctly set content-type for workflow response 2019-05-16 07:55:52 +00:00