Browse Source

Merge 206c82b464 into ad79aa45cf

pull/604/merge
omar7r 5 years ago
committed by GitHub
parent
commit
318ccc8378
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      web_widget_color/static/src/js/widget.js

8
web_widget_color/static/src/js/widget.js

@ -71,15 +71,11 @@ odoo.define('web.web_widget_color', function(require) {
/*
* Init jscolor for each editable mode on view form
*/
FormView.include({
on_button_edit: function () {
FormView.include({
on_form_changed: function () {
this._super();
jscolor.init(this.$el[0]);
},
on_button_create: function () {
this._super();
jscolor.init(this.$el[0]);
}
});
return {

Loading…
Cancel
Save