|
|
@ -72,9 +72,8 @@ BI.HexColorPickerEditor = BI.inherit(BI.Widget, { |
|
|
|
listeners: [{ |
|
|
|
listeners: [{ |
|
|
|
eventName: BI.ColorChooserShowButton.EVENT_CHANGE, |
|
|
|
eventName: BI.ColorChooserShowButton.EVENT_CHANGE, |
|
|
|
action: function () { |
|
|
|
action: function () { |
|
|
|
var value = self.getValue(); |
|
|
|
|
|
|
|
self.setValue("transparent"); |
|
|
|
self.setValue("transparent"); |
|
|
|
(value !== "transparent") && self.fireEvent(BI.ColorPickerEditor.EVENT_CHANGE); |
|
|
|
self.fireEvent(BI.ColorPickerEditor.EVENT_CHANGE); |
|
|
|
} |
|
|
|
} |
|
|
|
}], |
|
|
|
}], |
|
|
|
ref: function (_ref) { |
|
|
|
ref: function (_ref) { |
|
|
@ -90,9 +89,8 @@ BI.HexColorPickerEditor = BI.inherit(BI.Widget, { |
|
|
|
listeners: [{ |
|
|
|
listeners: [{ |
|
|
|
eventName: BI.ColorChooserShowButton.EVENT_CHANGE, |
|
|
|
eventName: BI.ColorChooserShowButton.EVENT_CHANGE, |
|
|
|
action: function () { |
|
|
|
action: function () { |
|
|
|
var value = self.getValue(); |
|
|
|
|
|
|
|
self.setValue(""); |
|
|
|
self.setValue(""); |
|
|
|
(value !== "") && self.fireEvent(BI.ColorPickerEditor.EVENT_CHANGE); |
|
|
|
self.fireEvent(BI.ColorPickerEditor.EVENT_CHANGE); |
|
|
|
} |
|
|
|
} |
|
|
|
}], |
|
|
|
}], |
|
|
|
ref: function (_ref) { |
|
|
|
ref: function (_ref) { |
|
|
|