Browse Source

Fix bug #20 Multiple click2dial when previous click2dial failed

pull/53/head
agutierrezdapda 10 years ago
committed by Alexis de Lattre
parent
commit
2e459d20aa
  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) { if (href_text && !this.options.dial_button_invisible) {
click2dial_text = _t('Dial'); click2dial_text = _t('Dial');
} }
this.$el.find('#click2dial').off('click');
this.$el.find('#click2dial') this.$el.find('#click2dial')
.text(click2dial_text) .text(click2dial_text)
.on('click', function(ev) { .on('click', function(ev) {

Loading…
Cancel
Save