)]}'
{"horizon/forms/views.py":[{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"482bd0b91b4f8588f5aa717bf277561cabb9c6d8","unresolved":false,"context_lines":[{"line_number":193,"context_line":"                data \u003d [self.get_object_id(handled),"},{"line_number":194,"context_line":"                        self.get_object_display(handled)]"},{"line_number":195,"context_line":"                response \u003d http.HttpResponse("},{"line_number":196,"context_line":"                    json.dumps(data), content_type\u003d\"text/plain\")"},{"line_number":197,"context_line":"                response[\"X-Horizon-Add-To-Field\"] \u003d field_id"},{"line_number":198,"context_line":"            elif isinstance(handled, http.HttpResponse):"},{"line_number":199,"context_line":"                return handled"}],"source_content_type":"text/x-python","patch_set":2,"id":"ffb9cba7_5730b3e8","line":196,"range":{"start_line":196,"start_character":51,"end_line":196,"end_character":63},"updated":"2019-04-28 00:37:32.000000000","message":"As a quick look, I wonder why application/json cannot be used.\n\nIt seems the bug report contains the reason of this, right?\nIt is worth mentioned in the commit message and the inline comment \nbecause it is a part of the fix.\n\n  The issue goes away when we set the content-type to text/plain. \n  We can\u0027t set it to json because other parts of the modal.js parse\n  it and then the code breaks in the same place but for different reasons...\n\nCould you update the change?","commit_id":"5bf75833e08ff04f18ceb98cfd35ef92f5695003"}]}
