Avoid theming ajax response.
This commit is contained in:
parent
1a10c0e309
commit
5b6d974902
|
@ -4,6 +4,9 @@ Changelog
|
|||
1.0.6 (unreleased)
|
||||
------------------
|
||||
|
||||
* Avoid theming ajax response.
|
||||
[elro]
|
||||
|
||||
* Ensure context is a content item of some sort.
|
||||
[elro]
|
||||
|
||||
|
|
|
@ -101,6 +101,8 @@ class Fetch(BrowserView):
|
|||
newNode = strategy.decoratorFactory(newNode)
|
||||
children.append(newNode)
|
||||
|
||||
self.request.response.setHeader('X-Theme-Disabled', 'True')
|
||||
|
||||
return self.fragment_template(children=children, level=int(level))
|
||||
|
||||
|
||||
|
|
Reference in New Issue