I wasn't sure where to submit this to so I logged it on GitHub but I'll
repost it here too because it's likely to be of interest to this group.

http://github.com/bryanlarsen/hobo-jquery/issues/#issue/3

BTW: Bryan, thanks for writing Hobo JQuery. I'd be lost without it.

----

The chosen value of a select tag in a <hjq-dialog-and-button> will be
ignored when the dialog is submitted. Instead the default value for the
select is submitted.

This seems to be because the formlet is cloned before it is serialized.
Apparently JQuery clone doesn't copy DOM values like currently selected item
in a <select>.

See http://www.mail-archive.com/[email protected]/msg60449.html

I've worked around it by serializing the original element instead of the
clone which is, of course, a shameful and ugly hack but works because I
don't happen to have any sub-forms or formlets.

/Ritchie

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/hobousers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to