WordPress.org

Ready to get started?Download WordPress

Forums

Bug with 3.5 Iris Color Picker (1 post)

  1. johnstonphilip
    Member
    Posted 1 year ago #

    I am creating a widget that uses the new color picker in WordPress 3.5.

    It works fine except for when it is first added to a sidebar. This is because the widget is being added to the sidebar by jquery. The color picker is also applied using jquery - but it isn't able to select the color element because it wasn't part of the DOM when the page loaded.

    I haven't been able to look at all the code involved in the wpColorPicker javascript function but somewhere in there this should likely be added:
    http://api.jquery.com/live/

    I'm not sure if this is the right place to post this or not. If not, if someone could point me in the right direction to report a bug that would be great. Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic