Author: artdaw
Date: 2009-01-05 18:40:06 -0500 (Mon, 05 Jan 2009)
New Revision: 12124
Modified:
trunk/sandbox/ui/colorPicker/design/ui.colorpicker.js
Log:
rich:colorPicker design: bug with color fills was fixed
Modified: trunk/sandbox/ui/colorPicker/design/ui.colorpicker.js
===================================================================
--- trunk/sandbox/ui/colorPicker/design/ui.colorpicker.js 2009-01-05 19:58:38 UTC (rev
12123)
+++ trunk/sandbox/ui/colorPicker/design/ui.colorpicker.js 2009-01-05 23:40:06 UTC (rev
12124)
@@ -185,7 +185,8 @@
col = this._HexToHSB(this.fields.eq(0).val());
- this.color = col;
+ this.color = col;
+ this._fillHexFields(col);
this._fillRGBFields(col);
this._fillHSBFields(col);
} else if (target.parentNode.className.indexOf('-hsb') > 0) {
@@ -194,7 +195,8 @@
s: parseInt(this.fields.eq(5).val(), 10),
b: parseInt(this.fields.eq(6).val(), 10)
});
- this.color = col;
+ this.color = col;
+ this._fillHSBFields(col);
this._fillRGBFields(col);
this._fillHexFields(col);
} else {
@@ -203,7 +205,8 @@
g: parseInt(this.fields.eq(2).val(), 10),
b: parseInt(this.fields.eq(3).val(), 10)
}));
- this.color = col;
+ this.color = col;
+ this._fillRGBFields(col);
this._fillHexFields(col);
this._fillHSBFields(col);
}
Show replies by date