hooks/notification.py
changeset 3418 7b49fa7e942d
parent 3376 f5c69485381f
child 3422 089c4b71ac16
--- a/hooks/notification.py	Wed Sep 23 11:22:19 2009 +0200
+++ b/hooks/notification.py	Wed Sep 23 12:28:28 2009 +0200
@@ -18,7 +18,7 @@
     """delay rendering of notification view until precommit"""
     def precommit_event(self):
         view = self.view
-        if view.rset is not None and not view.rset:
+        if view.cw_rset is not None and not view.cw_rset:
             return # entity added and deleted in the same transaction (cache effect)
         if view.cw_rset and self.session.deleted_in_transaction(view.cw_rset[cw_rset.cw_row or 0][cw_rset.cw_col or 0]):
             return # entity added and deleted in the same transaction