Skip to content

Commit

Permalink
this is also breaking
Browse files Browse the repository at this point in the history
  • Loading branch information
garbas committed Sep 18, 2013
1 parent 92600cf commit 5a3f370
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions plone/app/widgets/bbb.py
Expand Up @@ -46,10 +46,10 @@ def pattern_options(self):
})


@adapter(getSpecification(ISiteSyndicationSettings['site_rss_items']),
IWidgetsLayer)
@implementer(IFieldWidget)
def SiteRSSItemsFieldWidget(field, request):
widget = FieldWidget(field, Select2Widget(request))
widget.ajax_vocabulary = 'plone.app.vocabularies.SyndicatableFeedItems'
return widget
#@adapter(getSpecification(ISiteSyndicationSettings['site_rss_items']),
# IWidgetsLayer)
#@implementer(IFieldWidget)
#def SiteRSSItemsFieldWidget(field, request):
# widget = FieldWidget(field, Select2Widget(request))
# widget.ajax_vocabulary = 'plone.app.vocabularies.SyndicatableFeedItems'
# return widget

1 comment on commit 5a3f370

@mister-roboto
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Testing information:

Please sign in to comment.