From db2fa93a5bf303791c59e0dc325a9e7c1e0d6f6a Mon Sep 17 00:00:00 2001 From: Serghei MIHAI Date: Mon, 27 Jan 2014 16:08:51 +0100 Subject: [PATCH] the plugin can be embeded in text plugin --- cms_plugins.py | 1 + 1 file changed, 1 insertion(+) diff --git a/cms_plugins.py b/cms_plugins.py index a1d8285..024dd78 100644 --- a/cms_plugins.py +++ b/cms_plugins.py @@ -7,6 +7,7 @@ from cms.plugin_pool import plugin_pool class AjaxTextPlugin(TextPlugin): name = _(u'Text (asynchronous loading)') ajax_render_template = 'plugin/ajax_text.html' + text_enabled = True def get_ajax_body(self, instance, context): t = loader.get_template(self.ajax_render_template)