[wp-trac] [WordPress Trac] #25539: customizer multiple color pickers should close when you click outside of them

WordPress Trac noreply at wordpress.org
Thu Mar 6 17:35:08 UTC 2014


#25539: customizer multiple color pickers should close when you click outside of
them
--------------------------+------------------------------
 Reporter:  afercia       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Appearance    |     Version:  3.6.1
 Severity:  minor         |  Resolution:
 Keywords:  has-patch     |     Focuses:  administration
--------------------------+------------------------------
Changes (by mattwiebe):

 * keywords:  needs-patch => has-patch


Comment:

 I can't remember my reasoning at the time, but I think that I thought if
 you were dealing with multiple color pickers you might want to jump back
 and forth. But, if clicking off of a color picker closes it, it should
 behave that way universally, not with the special case of *except when
 clicking on another color picker.

 Patch attached. In addition to fixing this bug, I cleaned up the file to
 fully conform to JS coding standards.

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


More information about the wp-trac mailing list