mirror of https://github.com/OCA/web.git
web_widget_color: Fix issue #1139
widget="color" not working proper in One2many field form view. https://github.com/OCA/web/issues/1139pull/1141/head
parent
2713de660d
commit
25ac90ea09
|
@ -16,7 +16,7 @@ odoo.define('web.web_widget_color', function(require) {
|
||||||
|
|
||||||
_renderEdit: function() {
|
_renderEdit: function() {
|
||||||
this.$input = this.$el.find('input');
|
this.$input = this.$el.find('input');
|
||||||
this.jscolor = new jscolor(this.$input[0], {hash:true});
|
this.jscolor = new jscolor(this.$input[0], {hash:true, zIndex: 2000});
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
field_registry.add('color', FieldColor);
|
field_registry.add('color', FieldColor);
|
||||||
|
|
Loading…
Reference in New Issue