Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I have been having problems with theming, "#prefix" was being printed twice, and the content of $element['#id']
was being set twice. Both these issues have been seen before, see #1274446: #prefix and #suffix doesn't work with jquery_colorpicker and #1903808: Duplicate CSS ids
The attached patch on current dev fixes these issues, not tested with jquery_colorpicker in 'Field' mode but I doubt that it will cause any problems.
IMO these two fixes make this cool tool that much more useable ;-)
Comment | File | Size | Author |
---|---|---|---|
jquery_colorpicker_theme_bug.patch | 1.05 KB | hutch | |
Comments
Comment #1
plopescPatch applied with some minor modifications.
Thank you!