wpColorPicker not working in widgets
|Reported by:||johnstonphilip||Owned by:|
This should be a simple fix. I was 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. I suspect 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.
Change History (6)
comment:2 johnstonphilip — 14 months ago
- Keywords 2nd-opinion dev-feedback removed
- Summary changed from wpColorPicker not working in widgets. Jquery .live() needed. to wpColorPicker not working in widgets