Registrr old js in legacy bundle (same as in p.a.event)
This commit is contained in:
parent
a69a441989
commit
f39a7551f6
@ -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>
|
|
@ -4,4 +4,17 @@
|
|||||||
<value key="edit_comment_enabled">False</value>
|
<value key="edit_comment_enabled">False</value>
|
||||||
<value key="delete_own_comment_enabled">False</value>
|
<value key="delete_own_comment_enabled">False</value>
|
||||||
</records>
|
</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>
|
</registry>
|
||||||
|
Loading…
Reference in New Issue
Block a user