Commit 625b85d0 authored by Andreas Jung's avatar Andreas Jung

removed some target="manage_main" declarations as they were used

in a inconsistent way and were responsible for unwanted openings
of new windows
parent 916da7f9
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
# #
############################################################################## ##############################################################################
__doc__="""Find support""" __doc__="""Find support"""
__version__='$Revision: 1.29 $'[11:-2] __version__='$Revision: 1.30 $'[11:-2]
import sys, os, time, Globals, ExtensionClass import sys, os, time, Globals, ExtensionClass
...@@ -44,7 +44,7 @@ class FindSupport(ExtensionClass.Base): ...@@ -44,7 +44,7 @@ class FindSupport(ExtensionClass.Base):
) )
manage_options=( manage_options=(
{'label':'Find', 'action':'manage_findForm', 'target':'manage_main', {'label':'Find', 'action':'manage_findForm',
'help':('OFSP','Find.stx')}, 'help':('OFSP','Find.stx')},
) )
......
...@@ -11,8 +11,8 @@ ...@@ -11,8 +11,8 @@
# #
############################################################################## ##############################################################################
"""SMTP mail objects """SMTP mail objects
$Id: MailHost.py,v 1.71 2002/03/20 17:47:48 Torped Exp $""" $Id: MailHost.py,v 1.72 2002/03/28 19:59:00 andreasjung Exp $"""
__version__ = "$Revision: 1.71 $"[11:-2] __version__ = "$Revision: 1.72 $"[11:-2]
from Globals import Persistent, DTMLFile, InitializeClass from Globals import Persistent, DTMLFile, InitializeClass
from smtplib import SMTP from smtplib import SMTP
...@@ -54,7 +54,7 @@ class MailBase(Acquisition.Implicit, OFS.SimpleItem.Item, RoleManager): ...@@ -54,7 +54,7 @@ class MailBase(Acquisition.Implicit, OFS.SimpleItem.Item, RoleManager):
manage_options=( manage_options=(
( (
{'icon':'', 'label':'Edit', {'icon':'', 'label':'Edit',
'action':'manage_main', 'target':'manage_main', 'action':'manage_main',
'help':('MailHost','Mail-Host_Edit.stx')}, 'help':('MailHost','Mail-Host_Edit.stx')},
) )
+RoleManager.manage_options +RoleManager.manage_options
......
...@@ -84,7 +84,6 @@ class ZCatalog(Folder, Persistent, Implicit): ...@@ -84,7 +84,6 @@ class ZCatalog(Folder, Persistent, Implicit):
'help': ('OFSP','ObjectManager_Contents.stx')}, 'help': ('OFSP','ObjectManager_Contents.stx')},
{'label': 'Catalog', # TAB: Cataloged Objects {'label': 'Catalog', # TAB: Cataloged Objects
'action': 'manage_catalogView', 'action': 'manage_catalogView',
'target': 'manage_main',
'help':('ZCatalog','ZCatalog_Cataloged-Objects.stx')}, 'help':('ZCatalog','ZCatalog_Cataloged-Objects.stx')},
{'label': 'Properties', # TAB: Properties {'label': 'Properties', # TAB: Properties
'action': 'manage_propertiesForm', 'action': 'manage_propertiesForm',
...@@ -94,15 +93,12 @@ class ZCatalog(Folder, Persistent, Implicit): ...@@ -94,15 +93,12 @@ class ZCatalog(Folder, Persistent, Implicit):
'help': ('ZCatalog','ZCatalog_Indexes.stx')}, 'help': ('ZCatalog','ZCatalog_Indexes.stx')},
{'label': 'Metadata', # TAB: Metadata {'label': 'Metadata', # TAB: Metadata
'action': 'manage_catalogSchema', 'action': 'manage_catalogSchema',
'target':'manage_main',
'help':('ZCatalog','ZCatalog_MetaData-Table.stx')}, 'help':('ZCatalog','ZCatalog_MetaData-Table.stx')},
{'label': 'Find Objects', # TAB: Find Objects {'label': 'Find Objects', # TAB: Find Objects
'action': 'manage_catalogFind', 'action': 'manage_catalogFind',
'target':'manage_main',
'help':('ZCatalog','ZCatalog_Find-Items-to-ZCatalog.stx')}, 'help':('ZCatalog','ZCatalog_Find-Items-to-ZCatalog.stx')},
{'label': 'Advanced', # TAB: Advanced {'label': 'Advanced', # TAB: Advanced
'action': 'manage_catalogAdvanced', 'action': 'manage_catalogAdvanced',
'target':'manage_main',
'help':('ZCatalog','ZCatalog_Advanced.stx')}, 'help':('ZCatalog','ZCatalog_Advanced.stx')},
{'label': 'Undo', # TAB: Undo {'label': 'Undo', # TAB: Undo
'action': 'manage_UndoForm', 'action': 'manage_UndoForm',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment