[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/OFS/Folder/Views/Browser - LoadedFolderContents.py:1.1.4.2

Stephan Richter srichter@cbu.edu
Wed, 27 Mar 2002 18:47:20 -0500


Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/Folder/Views/Browser
In directory cvs.zope.org:/tmp/cvs-serv429/App/OFS/Folder/Views/Browser

Modified Files:
      Tag: Zope-3x-branch
	LoadedFolderContents.py 
Log Message:
- Fixed some last buglets.

Now the merge is complete! MUCH THANKS GOES TO STEVE ALEXANDER FOR HELPING
ME TO DEBUG THE MESS!



=== Zope3/lib/python/Zope/App/OFS/Folder/Views/Browser/LoadedFolderContents.py 1.1.4.1 => 1.1.4.2 ===
         if REQUEST is not None:
             # for unit tests
-            REQUEST.getResponse().redirect(REQUEST.getURL['-1'])
+            REQUEST.getResponse().redirect(REQUEST.getURL(1))
 
 
     def moveObjectsDown(self, ids, REQUEST = None):
@@ -43,7 +43,7 @@
 
         if REQUEST is not None:
             # for unit tests
-            REQUEST.getResponse().redirect(REQUEST.getURL['-1'])
+            REQUEST.getResponse().redirect(REQUEST.getURL(1))
 
 
     def moveObjectsToTop(self, ids, REQUEST = None):
@@ -52,7 +52,7 @@
 
         if REQUEST is not None:
             # for unit tests
-            REQUEST.getResponse().redirect(REQUEST.getURL['-1'])
+            REQUEST.getResponse().redirect(REQUEST.getURL(1))
 
 
     def moveObjectsToBottom(self, ids, REQUEST = None):
@@ -61,6 +61,6 @@
 
         if REQUEST is not None:
             # for unit tests
-            REQUEST.getResponse().redirect(REQUEST.getURL['-1'])
+            REQUEST.getResponse().redirect(REQUEST.getURL(1))