Commits

Dmitriy Budashny  committed 98b1a6c

Fixed FAQ Entry Plugin

  • Participants
  • Parent commits 42d6b23

Comments (0)

Files changed (1)

File cmsplugin_faq/cms_plugins.py

         page = None
         if obj:
             page = obj.page
-        plugins = plugin_pool.get_text_enabled_plugins(self.placeholder)
+        plugins = plugin_pool.get_text_enabled_plugins(self.placeholder, page)
         form = self.get_form_class(request, plugins)
         kwargs['form'] = form # override standard form
         return super(CMSFaqEntryPlugin, self).get_form(request, obj, **kwargs)