Author: jmorliaguet Date: Tue Dec 20 18:20:48 2005 New Revision: 2069 Modified: cpsskins/branches/jmo-perspectives/ui/default/formats/layout.py cpsskins/branches/jmo-perspectives/ui/default/formats/style.py Log:
- no need to trigger persistence - the conflict errors are harmless (read/write) due to Ajax asynchronous calls, maybe a _p_resolveConflict would help though. Modified: cpsskins/branches/jmo-perspectives/ui/default/formats/layout.py ============================================================================== --- cpsskins/branches/jmo-perspectives/ui/default/formats/layout.py (original) +++ cpsskins/branches/jmo-perspectives/ui/default/formats/layout.py Tue Dec 20 18:20:48 2005 @@ -73,11 +73,9 @@ raise TypeError, \ """Only strings can be stored in the layout objects.""" self.data[k] = v - self._p_changed = True def __delitem__(self, k): del self.data[k] - self._p_changed = True def __getitem__(self, k): return self.data[k] Modified: cpsskins/branches/jmo-perspectives/ui/default/formats/style.py ============================================================================== --- cpsskins/branches/jmo-perspectives/ui/default/formats/style.py (original) +++ cpsskins/branches/jmo-perspectives/ui/default/formats/style.py Tue Dec 20 18:20:48 2005 @@ -125,11 +125,9 @@ raise TypeError, \ """Only dictionaries can be stored in the style objects.""" self.data[self._wrap(k)] = v - self._p_changed = True def __delitem__(self, k): del self.data[self._wrap(k)] - self._p_changed = True def __iter__(self): return iter(self.data) -- http://lists.nuxeo.com/mailman/listinfo/z3lab-checkins