enabling for text plugins

This commit is contained in:
Serghei Mihai 2014-06-11 16:11:40 +02:00
parent bb5cab4b86
commit d61c2136cc
1 changed files with 1 additions and 0 deletions

View File

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