[FIX] Use sourc-id in client translator
bzr revid: fme@openerp.com-20130925154214-mrktzf256zjkscy2
This commit is contained in:
parent
e64c07f049
commit
0a679573fd
|
@ -54,7 +54,8 @@
|
|||
.not('[data-oe-type]');
|
||||
|
||||
$editables.each(function () {
|
||||
self.transNode(this, $(this).attr('data-oe-id')|0);
|
||||
var view_id = $(this).attr('data-oe-source-id') || $(this).attr('data-oe-id');
|
||||
self.transNode(this, view_id|0);
|
||||
});
|
||||
$('.oe_translatable_text').prop('contenteditable', true).on('paste', function () {
|
||||
var node = $(this);
|
||||
|
|
Loading…
Reference in New Issue