[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/container/browser/adding.py Not all containers might have a @@contents.html view, so just select the

Stephan Richter srichter at cosmos.phy.tufts.edu
Fri May 21 12:26:08 EDT 2004


Log message for revision 24854:
Not all containers might have a @@contents.html view, so just select the 
first found management view.



-=-
Modified: Zope3/trunk/src/zope/app/container/browser/adding.py
===================================================================
--- Zope3/trunk/src/zope/app/container/browser/adding.py	2004-05-21 16:24:39 UTC (rev 24853)
+++ Zope3/trunk/src/zope/app/container/browser/adding.py	2004-05-21 16:26:04 UTC (rev 24854)
@@ -76,7 +76,7 @@
     def nextURL(self):
         """See zope.app.container.interfaces.IAdding"""
         return (str(zapi.getView(self.context, "absolute_url", self.request))
-                + '/@@contents.html')
+                + '/@@SelectedManagementView.html')
 
     # set in BrowserView.__init__
     request = None 




More information about the Zope3-Checkins mailing list