misc: always use ajax for blurp cells declared as ajax (#9094)
This commit is contained in:
parent
382ee37f12
commit
5d9cdb777f
|
@ -459,6 +459,8 @@ class BlurpCell(CellBase):
|
|||
self.blurp_key = variant
|
||||
|
||||
def render(self, context):
|
||||
if settings.CMS_PLUGIN_BLURP_RENDERERS[self.blurp_key].get('ajax') and not context.get('synchronous'):
|
||||
raise NothingInCacheException()
|
||||
renderer = cmsplugin_blurp.utils.resolve_renderer(self.blurp_key)
|
||||
template = renderer.render_template()
|
||||
context = renderer.render(context)
|
||||
|
|
Loading…
Reference in New Issue