marc said...
> When I hard-code the following:
>
> (:input default name=currency value=USD:)
> (:input select name=currency value=GBP:)
> (:input select name=currency value=USD:)
> (:input select name=currency value=EUR:)
>
> the expected option is selected. When I generate the dropdown via markup
> with, say:
>
> function currencySelect() {
> $out = "(:input default name=currency value=USD:)";
> $out .= "(:input select name=currency value=GBP:)";
> $out .= "(:input select name=currency value=USD:)";
> $out .= "(:input select name=currency value=EUR:)";
> return $out;
> }
>
> the 'selected' option is not generated (in HTML). I am using 'split' for
> the 'when' parameter.
>
> However, if I add the markup to the page twice, then the second
> occurrence works as expected.
>
> Any ideas?
Just to confirm that the fix for this in pmwiki-2.2.0-beta27 seems to be
working A-okay :-) Thanks, Pm.
--
Cheers,
Marc
_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users