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:
Yiorgis Gozadinos 2010-05-03 11:53:20 +00:00
parent 0b3f610f4b
commit abe4cda5ba
2 changed files with 3 additions and 5 deletions

View File

@ -17,6 +17,9 @@
b_start python:0;
b_start request/b_start | b_start;
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">
Moderate comments

View File

@ -5,9 +5,4 @@
cacheable="False" compression="safe" cookable="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>