backoffice: do not decorate ajax result for pending submissions (#88844) #1331

Merged
fpeters merged 1 commits from wip/88844-pending-submission into main 2024-03-29 11:12:08 +01:00
1 changed files with 1 additions and 1 deletions

View File

@ -587,7 +587,7 @@ class SubmissionDirectory(Directory):
if get_request().form.get('ajax') == 'true':
get_request().ignore_session = True
get_response().filter = {'raw': True}
get_response().raw = True
return r.getvalue()
rt = TemplateIO(html=True)