[wp-trac] [WordPress Trac] #27491: Widget Customizer: Dynamically-created inputs cause from to replace itself without event to trigger re-initialization

WordPress Trac noreply at wordpress.org
Tue Apr 1 12:17:35 UTC 2014


#27491: Widget Customizer: Dynamically-created inputs cause from to replace itself
without event to trigger re-initialization
--------------------------+-------------------------
 Reporter:  westonruter   |       Owner:  ocean90
     Type:  defect (bug)  |      Status:  reviewing
 Priority:  normal        |   Milestone:  3.9
Component:  Widgets       |     Version:  trunk
 Severity:  major         |  Resolution:
 Keywords:  has-patch     |     Focuses:  javascript
--------------------------+-------------------------
Changes (by ocean90):

 * severity:  normal => major


Comment:

 > `option` elements are disregarded when syncing a sanitized form with the
 loaded form.

 But you are still doing `.find( ':input[name]' );` which includes options
 `elements` too. Not if that is an issue, because I now have an issue with
 the "Flexible Posts Widget" plugin ([http://downloads.wordpress.org/plugin
 /flexible-posts-widget.zip Download here] and needs patch from #27619).
 Under the "Taxonomy & Term" tab there is a dropdown menu which adds a
 checkbox list based on the value of the dropdown menu. Without your patch
 it works as expected, but with the patch I first have to click the "Apply"
 to get the checkbox list.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/27491#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list