Commit 44e8f13a authored by Jim Fulton's avatar Jim Fulton

The propertysheets property sheet should only allow addition of

property sheets.
parent 2827ed2a
...@@ -286,6 +286,8 @@ class ZInstanceSheetsSheet(OFS.PropertySheets.View, ...@@ -286,6 +286,8 @@ class ZInstanceSheetsSheet(OFS.PropertySheets.View,
action='manage_addCommonSheetForm'), action='manage_addCommonSheetForm'),
) )
def all_meta_types(self): return self.meta_types
manage=Globals.HTMLFile('OFS/main') manage=Globals.HTMLFile('OFS/main')
manage_addCommonSheetForm=Globals.HTMLFile('addCommonSheet', globals()) manage_addCommonSheetForm=Globals.HTMLFile('addCommonSheet', globals())
......
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