minor clean-ups
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@1298 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
parent
65a605ad48
commit
f03fdc2376
2 changed files with 10 additions and 10 deletions
|
@ -41,5 +41,6 @@ class Controller(BaseController):
|
|||
macros.register('css', resourceName=param[0], media=param[1])
|
||||
|
||||
def setupJs(self):
|
||||
return
|
||||
#self.macros['js'] = []
|
||||
self.macros.register('js', resourceName='zope3.js')
|
||||
|
|
|
@ -20,9 +20,8 @@
|
|||
|
||||
<metal:block metal:define-slot="headers">
|
||||
<tal:js repeat="macro controller/macros/js">
|
||||
<metal:css use-macro="macro" />
|
||||
<metal:js use-macro="macro" />
|
||||
</tal:js>
|
||||
<ignore_metal:js use-macro="context/@@standard_macros/navigation_tree_js" />
|
||||
</metal:block>
|
||||
<metal:block define-slot="ecmascript_slot" />
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue