summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSerghei MIHAI <smihai@entrouvert.com>2014-06-11 14:11:40 (GMT)
committerSerghei MIHAI <smihai@entrouvert.com>2014-06-11 14:11:40 (GMT)
commitd61c2136cc908ad20a4f93a3e15c04ab98ebae0f (patch)
tree323693350df7f5debb79f242b12479ed18a443d4
parentbb5cab4b86a6d5b189b76e858924d33fb6822f97 (diff)
downloadcms-ajax-text-plugin-master.zip
cms-ajax-text-plugin-master.tar.gz
cms-ajax-text-plugin-master.tar.bz2
enabling for text pluginsHEADmaster
-rw-r--r--cms_ajax_text_plugin/cms_plugins.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/cms_ajax_text_plugin/cms_plugins.py b/cms_ajax_text_plugin/cms_plugins.py
index 0c4eb2e..f884510 100644
--- a/cms_ajax_text_plugin/cms_plugins.py
+++ b/cms_ajax_text_plugin/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 = 'cms_ajax_text_plugin/plugin.html'
+ text_enabled = True
def get_ajax_body(self, instance, context):
t = loader.get_template(self.ajax_render_template)