Changeset 3611 in products
- Timestamp:
- Oct 25, 2012 11:36:46 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
quintagroup.plonecaptchas/trunk/quintagroup/plonecaptchas/captcha.py
r3457 r3611 22 22 super(CaptchaExtender, self).update() 23 23 if self.isAnon: 24 captcha_provider = queryUtility(ICaptchaProvider, 25 name=self.captcha) 26 if captcha_provider: 27 self.form.fields['captcha'].widgetFactory = \ 28 captcha_provider.widget_factory 24 cp = queryUtility(ICaptchaProvider, name=self.captcha) 25 if cp: 26 self.form.fields['captcha'].widgetFactory = cp.widget_factory 29 27 self.form.fields['captcha'].mode = None 30 28
Note: See TracChangeset
for help on using the changeset viewer.