[Zope3-checkins] CVS: Zope3/src/zope/app/browser/container - commontasks.pt:1.4
Godefroid Chapelle
gotcha@swing.be
Thu, 17 Apr 2003 12:02:37 -0400
Update of /cvs-repository/Zope3/src/zope/app/browser/container
In directory cvs.zope.org:/tmp/cvs-serv11574
Modified Files:
commontasks.pt
Log Message:
Patch from Garret Smith :
'''I noticed that the "Common Tasks" sidebar doesn't work unless the
"Contents" tab is selected. E.g. try to add something using the sidebar
when the Preview tab is selected -- nothing happens.'''
=== Zope3/src/zope/app/browser/container/commontasks.pt 1.3 => 1.4 ===
--- Zope3/src/zope/app/browser/container/commontasks.pt:1.3 Wed Apr 9 04:09:17 2003
+++ Zope3/src/zope/app/browser/container/commontasks.pt Thu Apr 17 12:02:36 2003
@@ -5,8 +5,9 @@
<tal:block repeat="info addingInfo">
<div tal:define="oddrow repeat/info/odd" class="even"
tal:attributes="class python:oddrow and 'content even' or 'content odd'">
- <a href="#"
- tal:attributes="href string:${request/getURL}?type_name=${info/action};
+ <a href="#"
+ tal:define="baseurl python:request.getURL(1)"
+ tal:attributes="href string:${baseurl}/@@contents.html?type_name=${info/action};
class info/selected"
tal:content="info/title" i18n:translate="">Folder
</a>