[Zope-Checkins] CVS: Zope2 - ObjectManager.py:1.139

andreas@serenade.digicool.com andreas@serenade.digicool.com
Thu, 5 Jul 2001 09:19:02 -0400


Update of /cvs-repository/Zope2/lib/python/OFS
In directory serenade:/tmp/cvs-serv20992/lib/python/OFS

Modified Files:
	ObjectManager.py 
Log Message:
Collector # 2363: The left menu of the ZMI is now updated when 
using the import function.
          



--- Updated File ObjectManager.py in package Zope2 --
--- ObjectManager.py	2001/07/03 18:18:34	1.138
+++ ObjectManager.py	2001/07/05 13:19:02	1.139
@@ -594,12 +594,14 @@
         ob=self._getOb(id)
         ob.manage_changeOwnershipType(explicit=0)
 
+        
         if REQUEST is not None:
-            return MessageDialog(
-                title='Object imported',
-                message='<EM>%s</EM> sucessfully imported' % id,
-                action='manage_main'
-                )
+            return self.manage_main(self, REQUEST, 
+                manage_tabs_message='<em>%s</em> sucessfully imported' % id,
+                title = 'Object imported',
+                update_menu=1)
+
+        
 
     # FTP support methods