Fixes to jquery.colorpicker.js1 user found helpful
* Could not paste values -- have to retype every time.
* More important, the color picker has a bug:
-- it will arbitrarily change entered values:
Try these values, for example:
Hexcode #81D8D0 is changed to # 82d9d0
RGB 129,216,208 is change to RGB 128,217,208
Minor changes to entered values make graphic artists worry.
I have attached a file that repairs these problems.
- Download that attached file 'jquery.colorpicker.txt';
- Change its name to 'jquery.colorpicker.js'
- Replace the file 'jquery.colorpicker.js' in /concrete/js
More about the changes:
In addition changed HSB values back to the original stock version that allows fractional values when the RGB or HEX creates them, so cutting and pasting HSB values return the same exact RGB and HEX values.
And I changed the stupid 'Ok' button to OK. 'Ok' is NOT okay.
Unfortunately, it didn't work for me. I have no file named jquery.colorpicker.js in the /concrete/js folder. Instead I have _jquery.colorpicker.js in /concrete/js/ccm_app. Replacing this one didn't affect the color picker.
I'm using v126.96.36.199.
I have not upgraded to 5.5. I forked my own version off 5.3 some time ago so was unfamiliar with the directory/name changes. HOWEVER: The problematic colorpicker has not changed in those versions. So my fixes will be helpful.
You are correct that the colorpicker 5.5 info is:
To test whether your browser is using my version, point your browser to:
You should see the words "Repairs done" in the header. If you don't, clear you browser cache and refresh the page. If you STILL don't, check again that you have actually replaced
with my new file.
As you point out, my fixes will now not work. The rotten concrete5-added modifications to the colorpicker freeware are now embedded in the concatenated file. The fixes will not be applied.
Fixes to that file are possible, but someone else is going to have to do it. Like a lot of concrete code, it's just a rat's nest.
On a personal note. I forked off of concrete 5.3 because it was full of bugs, overcomplications, restrictions and inadequacies, and the development team was not responsive to addressing even serious errors -- instead, when I messaged problems and fixes, I was waved off and warned of the dangers of making changes to the concrete5 "core code."
So now you get what you get with colorpicker, unless you are pretty smart and very determined.
Good luck making color #81D8D0. Good luck pasting color values.
PS. If you are determined, you can probably fix the pasting problem by finding and replacing:
I'm really not sure why this hasn't been fixed yet since it's clearly changing valid hex and rgb color values. I ran into just about every color I wanted to set being changed to a different value.
I'm using Concrete5: 188.8.131.52
File replaced: /concrete/js/ccm.app.js