Changeset 2630 in products for quintagroup.dropdownmenu


Ignore:
Timestamp:
Jul 8, 2010 2:47:19 PM (10 years ago)
Author:
fenix
Message:

fixed bug in checkbox widget overrides.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • quintagroup.dropdownmenu/trunk/quintagroup/dropdownmenu/browser/controlpanel.py

    r1205 r2630  
    3232    def _overrideValue(self, widget, value): 
    3333        if value: 
    34             widget.value = ['true'] 
    35         else: 
    36             widget.value = ['false'] 
     34            widget.value = ['selected'] 
     35 
    3736        widget.items = [] 
    3837        for count, term in enumerate(widget.terms): 
Note: See TracChangeset for help on using the changeset viewer.