Browse Source

[IMP] web_translate_dialog_page - move QWeb variable at top level of module namespace for convention

(/home/gbaconnier/code/openerp/c2c-web-addons/lp6.1-main rev 12.1.2)
pull/4/head
Yannick Vaucher 12 years ago
parent
commit
59cb3403d8
  1. 2
      web_translate_dialog_page/static/src/js/web_translate_dialog_page.js

2
web_translate_dialog_page/static/src/js/web_translate_dialog_page.js

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

Loading…
Cancel
Save