diff --git a/auquotidien/modules/root.py b/auquotidien/modules/root.py index eb37336..f4c4fab 100644 --- a/auquotidien/modules/root.py +++ b/auquotidien/modules/root.py @@ -808,7 +808,7 @@ class AlternateRootDirectory(OldRootDirectory): response.filter = {} response.filter['auquotidien'] = True - if not path or path[0] not in ('api', 'backoffice'): + if not path or (path[0] not in ('api', 'backoffice') and not get_request().is_json()): # api & backoffice have no use for a side box response.filter['gauche'] = self.box_side(path) response.filter['keywords'] = template.get_current_theme().get('keywords')