backoffice: always load godo css so it's properly displayed in popups (#68150)

This commit is contained in:
Frédéric Péters 2024-03-09 10:06:58 +01:00
parent 84e7f29994
commit afc7e799f3
1 changed files with 1 additions and 0 deletions

View File

@ -81,6 +81,7 @@ class RootDirectory(AccessControlled, Directory):
except KeyError:
pass
get_response().add_javascript(['jquery.js', 'qommon.js', 'gadjo.js'])
get_response().add_css_include('../xstatic/css/godo.css')
if path and path[0] == 'categories':
# legacy /backoffice/categories/<...>, redirect.
return redirect('/backoffice/forms/' + '/'.join(path))