Closed (fixed)
Project:
Drupal core
Version:
7.x-dev
Component:
javascript
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
21 Oct 2008 at 01:13 UTC
Updated:
5 Nov 2008 at 18:31 UTC
When I wrote the patch against farbtastic.js to make it work with jQuery 1.2.6 the solution was sloppy. It added a hack onto the existing code to get the coordinates in the function fb.widgetCoords rather than taking advantage of what was in jQuery. The attached patch is a cleaner, faster, and smaller (2 lines) to accomplish the same thing.
I tested this in FF3 (mac and pc), Safari and Webkit (mac), and IE (6/7 on pc).
| Comment | File | Size | Author |
|---|---|---|---|
| farbtastic_update_jquery_1.2.6.patch | 2.01 KB | mfer |
Comments
Comment #1
mfer commentedTo test this patch apply it and see if the color picker works in the different major browsers. It's as easy as that.
Comment #2
mfer commentedI, also, tested in Google Chrome.
Comment #3
robloachYup!
For those interested, this is the path to get rid of the unmaintained Farbtastic:
Comment #4
mfer commentedFYI, jQuery UI has a color picker as part of the package.
Comment #5
dries commentedCommitted to CVS HEAD. Thanks.
Comment #6
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.