Browse Source

[Odoo 10] Fix for #20

The bug keeps happening in this version, and the solution is the same as what was stated in the issue.
pull/157/head
Daniel Rodríguez 7 years ago
committed by GitHub
parent
commit
2b4c6766d0
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) {
click2dial_text = _t('Dial');
}
this.$el.filter('#click2dial').off('click');
this.$el.filter('#click2dial')
.text(click2dial_text)
.attr('href', '#')

Loading…
Cancel
Save