Révision 46f212ea
Ajouté par Frédéric Péters il y a presque 6 ans
auquotidien/modules/root.py | ||
---|---|---|
808 | 808 |
response.filter = {} |
809 | 809 |
|
810 | 810 |
response.filter['auquotidien'] = True |
811 |
if not path or path[0] not in ('api', 'backoffice'):
|
|
811 |
if not path or (path[0] not in ('api', 'backoffice') and not get_request().is_json()):
|
|
812 | 812 |
# api & backoffice have no use for a side box |
813 | 813 |
response.filter['gauche'] = self.box_side(path) |
814 | 814 |
response.filter['keywords'] = template.get_current_theme().get('keywords') |
Formats disponibles : Unified diff
don't generate box details for json calls (#25541)