-
Bug
-
Resolution: Fixed
-
Major
-
None
-
None
this.add(Ext.create("Ametys.form.field.ColorSelector", { listColors: listColors, currentColor: this._formatColorToValue(color), allowTransparent: this.getInitialConfig("allowTransparent") || true, callback: Ext.bind(this._onSelectColor, this) }));
false || true will be always equals to true ...
Ametys.form.field.ColorSelector waits for a boolean, so the string "false" also does not work. The transparent button is always displayed.
[SKINFACTORY-92] Disable "allowTransparent" in ColorSelectorMenu will never work
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |