Fix the JavaScript color picker initialization. (Props to both <user
name="av8rmike"> and <user name="tell_me" site="livejournal.com"> for their
investigation!)
Patch by av8rmike.
diffs (12 lines):
diff -r 1372d04b4ce0 -r eef334d67be8 htdocs/js/colorpicker.js
--- a/htdocs/js/colorpicker.js Sun Jun 28 01:37:28 2009 +0000
+++ b/htdocs/js/colorpicker.js Sun Jun 28 01:47:04 2009 +0000
@@ -208,7 +208,7 @@ function _RGBtoHSV(p,dat) {
for (var i = 1; i <= 3; i++) {
if (rgb[i] > max) {
max = rgb[i];
- hi = 1;
+ hi = i;
}
if (rgb[i] < min) {
min = rgb[i];
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog