summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSerghei MIHAI <smihai@entrouvert.com>2014-01-27 15:08:51 (GMT)
committerSerghei MIHAI <smihai@entrouvert.com>2014-01-27 15:08:51 (GMT)
commitdb2fa93a5bf303791c59e0dc325a9e7c1e0d6f6a (patch)
tree129545eb0040f92377d15d23e4623824f3f2661d
parent6813853a273d9af4e55875fbf24309f165f7ea89 (diff)
downloadcms-ajax-text-plugin-db2fa93a5bf303791c59e0dc325a9e7c1e0d6f6a.zip
cms-ajax-text-plugin-db2fa93a5bf303791c59e0dc325a9e7c1e0d6f6a.tar.gz
cms-ajax-text-plugin-db2fa93a5bf303791c59e0dc325a9e7c1e0d6f6a.tar.bz2
the plugin can be embeded in text plugin
-rw-r--r--cms_plugins.py1
1 files changed, 1 insertions, 0 deletions
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)