Browse Source

Merge pull request #53 from akretion/8.0-fix-bug-20-good-author

Fix bug #20 Multiple click2dial when previous click2dial failed
pull/62/head
Alexis de Lattre 10 years ago
parent
commit
0e1dac4f9b
  1. 1
      base_phone/static/src/js/phone_widget.js

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

@ -38,6 +38,7 @@ openerp.base_phone = function (instance) {
if (href_text && !this.options.dial_button_invisible) {
click2dial_text = _t('Dial');
}
this.$el.find('#click2dial').off('click');
this.$el.find('#click2dial')
.text(click2dial_text)
.on('click', function(ev) {

Loading…
Cancel
Save