|
|
@ -19,7 +19,7 @@ BI.ColorChooser = BI.inherit(BI.Widget, { |
|
|
|
_init: function () { |
|
|
|
_init: function () { |
|
|
|
var self = this, o = this.options; |
|
|
|
var self = this, o = this.options; |
|
|
|
BI.ColorChooser.superclass._init.apply(this, arguments); |
|
|
|
BI.ColorChooser.superclass._init.apply(this, arguments); |
|
|
|
o.value = o.value || ""; |
|
|
|
o.value = (o.value || "").toLowerCase(); |
|
|
|
this.combo = BI.createWidget({ |
|
|
|
this.combo = BI.createWidget({ |
|
|
|
type: "bi.combo", |
|
|
|
type: "bi.combo", |
|
|
|
element: this, |
|
|
|
element: this, |
|
|
@ -91,7 +91,7 @@ BI.ColorChooser = BI.inherit(BI.Widget, { |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
setValue: function (color) { |
|
|
|
setValue: function (color) { |
|
|
|
this.combo.setValue(color || ""); |
|
|
|
this.combo.setValue((color || "").toLowerCase()); |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
getValue: function () { |
|
|
|
getValue: function () { |
|
|
|