removed moderation.js from js registry and include it only in moderation.pt as that is the only place where it is used
svn path=/plone.app.discussion/trunk/; revision=36468
This commit is contained in:
parent
0b3f610f4b
commit
abe4cda5ba
@ -17,6 +17,9 @@
|
|||||||
b_start python:0;
|
b_start python:0;
|
||||||
b_start request/b_start | b_start;
|
b_start request/b_start | b_start;
|
||||||
moderation_enabled view/moderation_enabled;">
|
moderation_enabled view/moderation_enabled;">
|
||||||
|
<script type="text/javascript"
|
||||||
|
tal:attributes="src string:${context/portal_url}/++resource++plone.app.discussion.javascripts/moderation.js">
|
||||||
|
</script>
|
||||||
|
|
||||||
<h1 class="documentFirstHeading" i18n:translate="heading_moderate_comments">
|
<h1 class="documentFirstHeading" i18n:translate="heading_moderate_comments">
|
||||||
Moderate comments
|
Moderate comments
|
||||||
|
@ -5,9 +5,4 @@
|
|||||||
cacheable="False" compression="safe" cookable="False"
|
cacheable="False" compression="safe" cookable="False"
|
||||||
enabled="True" expression="" inline="False"
|
enabled="True" expression="" inline="False"
|
||||||
/>
|
/>
|
||||||
<javascript
|
|
||||||
id="++resource++plone.app.discussion.javascripts/moderation.js"
|
|
||||||
cacheable="False" compression="safe" cookable="False"
|
|
||||||
enabled="True" expression="" inline="False"
|
|
||||||
/>
|
|
||||||
</object>
|
</object>
|
||||||
|
Loading…
Reference in New Issue
Block a user