Laurence Aumeunier
added a comment - May be a issue on ExtJS ColorPicker ? It seems that is missing a id on button to pick the color.
I tried with this patch, and I had no error :
Index: main/plugin-core-ui/resources/js/Ametys/form/field/ColorSelector.js
===================================================================
--- main/plugin-core-ui/resources/js/Ametys/form/field/ColorSelector.js (revision 42507)
+++ main/plugin-core-ui/resources/js/Ametys/form/field/ColorSelector.js (working copy)
@@ -167,6 +167,13 @@
xtype: 'colorpicker',
handler: this._onColorPickerSelect,
scope: this,
+ renderTpl: [
+ '<tpl for="colors">',
+ '<a href="#" role="button" id="{parent.id}-color-{.}" class="color-{.} {parent.itemCls}" hidefocus="on">',
+ '<span class="{parent.itemCls}-inner" style="background:#{.}"> </span>',
+ '</a>',
+ '</tpl>'
+ ],
height: "auto",
width: "auto"
}, colorInfos)
May be a issue on ExtJS ColorPicker ? It seems that is missing a id on button to pick the color.
I tried with this patch, and I had no error :