Browse Source

Merge pull request #157 from sadasant/patch-1

[Odoo 10] Fix for #20
pull/161/merge
Alexis de Lattre 6 years ago
committed by GitHub
parent
commit
a235168adf
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      base_phone/static/src/js/phone_widget.js

1
base_phone/static/src/js/phone_widget.js

@ -49,6 +49,7 @@ odoo.define('base_phone.phone_widget', function (require) {
if (phone_num && !this.options.dial_button_invisible) { if (phone_num && !this.options.dial_button_invisible) {
click2dial_text = _t('Dial'); click2dial_text = _t('Dial');
} }
this.$el.filter('#click2dial').off('click');
this.$el.filter('#click2dial') this.$el.filter('#click2dial')
.text(click2dial_text) .text(click2dial_text)
.attr('href', '#') .attr('href', '#')

Loading…
Cancel
Save