Registrr old js in legacy bundle (same as in p.a.event)

This commit is contained in:
Philip Bauer 2019-06-24 08:43:27 +02:00
parent a69a441989
commit f39a7551f6
2 changed files with 13 additions and 7 deletions

View File

@ -1,7 +0,0 @@
<?xml version="1.0"?>
<object name="portal_javascripts">
<javascript
id="++resource++plone.app.discussion.javascripts/comments.js"
insert-after="collapsibleformfields.js"
/>
</object>

View File

@ -4,4 +4,17 @@
<value key="edit_comment_enabled">False</value>
<value key="delete_own_comment_enabled">False</value>
</records>
<records prefix="plone.resources/plone-app-discussion"
interface='Products.CMFPlone.interfaces.IResourceRegistry'>
<value key="js">++resource++plone.app.discussion.javascripts/comments.js</value>
</records>
<records prefix="plone.bundles/plone-legacy"
interface='Products.CMFPlone.interfaces.IBundleRegistry'>
<value key="resources" purge="false">
<element>plone-app-discussion</element>
</value>
<value key="last_compilation"></value>
</records>
</registry>