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

andreas@serenade.digicool.com andreas@serenade.digicool.com
Thu, 5 Jul 2001 09:16:42 -0400


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

Modified Files:
      Tag: Zope-2_4-branch
	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 15:36:44	1.137.4.3
+++ ObjectManager.py	2001/07/05 13:16:42	1.137.4.4
@@ -595,11 +595,11 @@
         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