Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plone 5.1 compatibility #34

Merged
merged 8 commits into from Sep 26, 2019

Remove unused plone.app.form dependency

  • Loading branch information...
djowett-ftw committed Sep 3, 2019
commit 90b018abe86ef74b81ce9a70b705edeec9999c35
@@ -1,6 +1,5 @@
from ftw.globalstatusmessage import _
from ftw.globalstatusmessage.interfaces import IStatusMessageConfigForm
from plone.app.form.widgets.wysiwygwidget import WYSIWYGWidget
from plone.z3cform.layout import wrap_form
from z3c.form import form, field

@@ -9,7 +8,6 @@ class GlobalStatusMessageForm(form.EditForm):
"""This class defines the form"""
schema = IStatusMessageConfigForm
fields = field.Fields(IStatusMessageConfigForm)
fields['message_textfield'].custom_widget = WYSIWYGWidget

label = _(u"Global Statusmessage")

@@ -59,7 +59,6 @@ def read(*rnames):
'Zope2',
'ftw.upgrade',
'plone.api',
'plone.app.form',
'plone.app.layout',
'plone.app.registry',
'plone.registry',
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.