[wp-trac] [WordPress Trac] #41610: Widgets: Change "close" to "done?"

WordPress Trac noreply at wordpress.org
Mon Sep 25 19:45:39 UTC 2017


#41610: Widgets: Change "close" to "done?"
-------------------------+--------------------------
 Reporter:  melchoyce    |       Owner:  westonruter
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  4.9
Component:  Widgets      |     Version:
 Severity:  normal       |  Resolution:  fixed
 Keywords:  has-patch    |     Focuses:
-------------------------+--------------------------

Comment (by westonruter):

 Replying to [comment:23 afercia]:
 > Aside: not sure why both the `input` and `change` events are used;
 `input` should be enough, unless I'm missing something.

 Both events are used because changing radio buttons does not trigger
 `input`, only `change` (see [https://developer.mozilla.org/en-
 US/docs/Web/Events/input MDN]). Also, custom JS components will often sync
 changes into hidden inputs and trigger `change` events on them, without
 any `input`.

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


More information about the wp-trac mailing list