# HG changeset patch # User Sylvain Thénault # Date 1294311331 -3600 # Node ID c462147c9315b0dcd60256235a3e787d9805bede # Parent 562dd184cbc70673e362f2ecb9704858d72e6590 [boxes] add id of the rset to generated dom id of RsetBox to lower chance of id conflict (object id may be reused later) diff -r 562dd184cbc7 -r c462147c9315 web/views/boxes.py --- a/web/views/boxes.py Thu Jan 06 11:54:37 2011 +0100 +++ b/web/views/boxes.py Thu Jan 06 11:55:31 2011 +0100 @@ -218,7 +218,7 @@ @property def domid(self): - return super(RsetBox, self).domid + unicode(abs(id(self))) + return super(RsetBox, self).domid + unicode(abs(id(self))) + unicode(abs(id(self.cw_rset))) def render_title(self, w): w(self.cw_extra_kwargs['title'])