[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/OFS/Container/Views/Browser - Adder.py:1.1.2.7.4.3
Jim Fulton
jim@zope.com
Tue, 4 Jun 2002 15:49:41 -0400
Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/Container/Views/Browser
In directory cvs.zope.org:/tmp/cvs-serv22072
Modified Files:
Tag: Zope3InWonderland-branch
Adder.py
Log Message:
Changed redirect to account for the fact that we have one less step in
URLs. (yay)
=== Zope3/lib/python/Zope/App/OFS/Container/Views/Browser/Adder.py 1.1.2.7.4.2 => 1.1.2.7.4.3 ===
if REQUEST is not None:
# for unit tests
- REQUEST.getResponse().redirect(REQUEST.URL[-2])
+ REQUEST.getResponse().redirect(REQUEST.URL[-1])
return self.confirmed( type_name=type_name, id=id )