[Nitro] [PATCH] xhtml helper

Bryan Soto bryan.a.soto at gmail.com
Wed Apr 26 13:40:22 EDT 2006


That's all right, I'll take care of it.

Thanks.

On 4/26/06, Dimitri Aivaliotis <aglarond at gmail.com> wrote:
> just a small change to the xhtml helper, to make sure that the
> comparison is done correctly.
>
> Note: no actual patch is included because it is a trivial change.
>
> http://devlab.oree.ch/trac/nitrohq/ticket/34:
>
> line 54 of lib/nitro/helper/xhtml.rb (version 0.29.0)
>
> line 78 of lib/nitro/helper/xhtml.rb (current repo)
>
>                 if value == selected
>
> should be
>
>                 if value.to_i == selected
>
> because 'selected' has .to_i done to it earlier.
>
>
> Let me know if I should make an actual patch for this, and I'll send
> it later today.
>
> - Dimitri
>
> _______________________________________________
> Nitro-general mailing list
> Nitro-general at rubyforge.org
> http://rubyforge.org/mailman/listinfo/nitro-general
>


--
"Never tell people how to do things. Tell them what to do and they
will surprise you with their ingenuity." —General George S. Patton




More information about the Nitro-general mailing list