diff --git a/Products/CMFPlone/controlpanel/browser/resourceregistry.py b/Products/CMFPlone/controlpanel/browser/resourceregistry.py index 9d502889cc..8b070c2919 100644 --- a/Products/CMFPlone/controlpanel/browser/resourceregistry.py +++ b/Products/CMFPlone/controlpanel/browser/resourceregistry.py @@ -409,14 +409,8 @@ def config(self): base_url = self.context.absolute_url() resources = self.get_resources() - try: - less_url = self.registry['plone.resources.lessc'] - except KeyError: - less_url = '++plone++static/components/less/dist/less-1.7.4.min.js' - try: - rjs_url = resources['rjs'].js - except KeyError: - rjs_url = '++plone++static/components/r.js/dist/r.js' + less_url = self.registry['plone.resources.lessc'] + rjs_url = self.registry['plone.resources.rjs'] data = { 'development': self.registry['plone.resources.development'], diff --git a/news/2969.bugfix b/news/2969.bugfix new file mode 100644 index 0000000000..42a9f9353b --- /dev/null +++ b/news/2969.bugfix @@ -0,0 +1,2 @@ +Fix TTW Bundle compilation broken. +[thet]