Avoid theming ajax response.

This commit is contained in:
Laurence Rowe 2012-09-27 20:02:51 +01:00
parent 1a10c0e309
commit 5b6d974902
2 changed files with 5 additions and 0 deletions

View File

@ -4,6 +4,9 @@ Changelog
1.0.6 (unreleased)
------------------
* Avoid theming ajax response.
[elro]
* Ensure context is a content item of some sort.
[elro]

View File

@ -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))