Show
Ignore:
Timestamp:
05/27/08 01:20:00 (22 months ago)
Author:
eevee
Message:

Mostly finished up breeding chains app, at least for one move. (#302)
- Added a link for it to the link list.
- Fixed some DBIC-related has-many ambiguity.
- Deleted a lot of old TODO comments.
- Added a setting for level of detail that defaults to only showing optimal chains, rather than trying to pull them out and show them separately.
- Fixed a cross-join bug where some move methods would appear twice.
- Fixed a bug in Vee::Form that made single-radio-button printing not work at all.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • veekun/trunk/lib/Vee/Form.pm

    r391 r433  
    323323        if (defined $req_value) { 
    324324        # multiple radio buttons, one selected 
    325             if ($req_value and scalar grep { $_->[0] eq $req_value } @options) { return '' } 
     325            if ($req_value and not scalar grep { $_->[0] eq $req_value } @options) { return '' } 
    326326            $attr{checked} = 'checked' if $is_checked; 
    327327            $attr{value} = $req_value;