Browse Source

web_widget_color: Fix issue #1139

widget="color" not working proper in One2many field form view.
https://github.com/OCA/web/issues/1139
pull/1141/head
ernesto 6 years ago
parent
commit
25ac90ea09
  1. 2
      web_widget_color/static/src/js/widget.js

2
web_widget_color/static/src/js/widget.js

@ -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…
Cancel
Save