[wp-trac] [WordPress Trac] #16655: Media Library assign popup capturing incorrect checked radio elements
WordPress Trac
wp-trac at lists.automattic.com
Fri Feb 25 12:50:52 UTC 2011
#16655: Media Library assign popup capturing incorrect checked radio elements
--------------------------+------------------------------
Reporter: pmenard | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 3.1
Severity: normal | Resolution:
Keywords: |
--------------------------+------------------------------
Comment (by pmenard):
Actually the more correct solution for the JavaScript change would be the
following. Note the addition of the 'find-box-search' which is the parent
container for the radio buttons.
$(".find-box-search input[@name='itemSelect[]']:checked").each(function()
{ selectedItem = $(this).val() });
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16655#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list