|
@ -1,6 +1,7 @@ |
|
|
openerp.web_translate_dialog_page = function (openerp) { |
|
|
openerp.web_translate_dialog_page = function (openerp) { |
|
|
|
|
|
|
|
|
var _t = openerp.web._t; |
|
|
var _t = openerp.web._t; |
|
|
|
|
|
var QWeb = openerp.web.qweb; |
|
|
|
|
|
|
|
|
openerp.web.PageView.include({ |
|
|
openerp.web.PageView.include({ |
|
|
on_loaded: function(data) { |
|
|
on_loaded: function(data) { |
|
@ -54,7 +55,6 @@ openerp.web_translate_dialog_page = function (openerp) { |
|
|
}, |
|
|
}, |
|
|
start: function() { |
|
|
start: function() { |
|
|
var self = this; |
|
|
var self = this; |
|
|
var QWeb = openerp.web.qweb; |
|
|
|
|
|
this._super(); |
|
|
this._super(); |
|
|
$.when(this.languages_loaded).then(function() { |
|
|
$.when(this.languages_loaded).then(function() { |
|
|
self.$element.html(QWeb.render('TranslateDialogPage', { widget: self })); |
|
|
self.$element.html(QWeb.render('TranslateDialogPage', { widget: self })); |
|
|