1.1 --- a/imipweb/event.py Thu Jul 30 19:29:10 2015 +0200
1.2 +++ b/imipweb/event.py Thu Jul 30 22:11:56 2015 +0200
1.3 @@ -923,6 +923,7 @@
1.4 args = self.env.get_args()
1.5 _id = self.element_identifier
1.6 _name = self.element_name
1.7 + _enable = self.element_enable
1.8
1.9 # Add a dynamic stylesheet to permit the controls to modify the display.
1.10 # NOTE: The style details need to be coordinated with the static
1.11 @@ -948,13 +949,13 @@
1.12
1.13 self._control(
1.14 _name("dtend-control", "recur", index), "checkbox",
1.15 - index is not None and str(index) or "enable", p.end_enabled,
1.16 + _enable(index), p.end_enabled,
1.17 id=_id("dtend-enable", index)
1.18 )
1.19
1.20 self._control(
1.21 _name("dttimes-control", "recur", index), "checkbox",
1.22 - index is not None and str(index) or "enable", p.times_enabled,
1.23 + _enable(index), p.times_enabled,
1.24 id=_id("dttimes-enable", index)
1.25 )
1.26