|
@ -2,9 +2,8 @@ |
|
|
* License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
|
|
* License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
|
|
*/ |
|
|
*/ |
|
|
|
|
|
|
|
|
(function() { |
|
|
|
|
|
|
|
|
openerp.web_widget_mail_send_odoo = function(instance) { |
|
|
|
|
|
|
|
|
var instance = openerp; |
|
|
|
|
|
var _t = instance.web._t, |
|
|
var _t = instance.web._t, |
|
|
_lt = instance.web._lt; |
|
|
_lt = instance.web._lt; |
|
|
var QWeb = instance.web.qweb; |
|
|
var QWeb = instance.web.qweb; |
|
@ -13,7 +12,7 @@ instance.web.form.FieldEmailIntern = instance.web.form.FieldChar.extend({ |
|
|
template: 'FieldEmailIntern', |
|
|
template: 'FieldEmailIntern', |
|
|
initialize_content: function() { |
|
|
initialize_content: function() { |
|
|
this._super(); |
|
|
this._super(); |
|
|
var $button = this.$el.find('a'); |
|
|
|
|
|
|
|
|
var $button = this.$('a'); |
|
|
$button.click(this.on_clicked); |
|
|
$button.click(this.on_clicked); |
|
|
this.setupFocus($button); |
|
|
this.setupFocus($button); |
|
|
}, |
|
|
}, |
|
@ -87,5 +86,4 @@ instance.web.form.FieldEmailIntern = instance.web.form.FieldChar.extend({ |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
instance.web.form.widgets.add('email', 'instance.web.form.FieldEmailIntern') |
|
|
instance.web.form.widgets.add('email', 'instance.web.form.FieldEmailIntern') |
|
|
|
|
|
|
|
|
})() |
|
|
|
|
|
|
|
|
} |