Commit d137d925 authored by Jim Fulton's avatar Jim Fulton

Fixed bug in deleting property sheets.

parent 71a8cf63
......@@ -151,7 +151,7 @@ class ZInstanceSheetsSheet(OFS.PropertySheets.View,
delattr(self, id)
pc=self.aq_inner.aq_parent.aq_parent._zclass_propertysheets_class
delattr(pc,id)
pc.__propset_attrs__=tuple(map(lambda o: o[0], self._objects))
pc.__propset_attrs__=tuple(map(lambda o: o['id'], self._objects))
rclass(pc)
meta_types=(
......
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