[wp-trac] [WordPress Trac] #15258: Category widget breaks when multiple widgets with dropdowns displayed on page
WordPress Trac
wp-trac at lists.automattic.com
Sat Oct 30 06:22:53 UTC 2010
#15258: Category widget breaks when multiple widgets with dropdowns displayed on
page
--------------------------+-------------------------------------------------
Reporter: froman118 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Widgets | Version: 3.0.1
Severity: normal | Keywords: category, dropdown, widget
--------------------------+-------------------------------------------------
When using multiple Category widgets to display dropdowns each instance is
given the same ID on the <select> and the emitted JavaScript is exactly
the same. To get this working correctly the dropdown's ID and the
JavaScript variable and function names need to be unique. This can be
accomplished by using the widget ID to create a unique identifier for each
widget. Patch is attached.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15258>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list