[FIX] QWeb: well... ahem... This is embarassing...

bzr revid: fme@openerp.com-20120117215949-36uxh7r1izvah35l
This commit is contained in:
Fabien Meghazi 2012-01-17 22:59:49 +01:00
parent ad3604737d
commit 152f92916b
1 changed files with 2 additions and 1 deletions

View File

@ -329,7 +329,8 @@ QWeb2.Engine = (function() {
" return r.join('');";
},
render : function(template, dict) {
QWeb2.tools.extend(dict || {}, this.default_dict);
dict = dict || {};
QWeb2.tools.extend(dict, this.default_dict);
/*if (this.debug && window['console'] !== undefined) {
console.time("QWeb render template " + template);
}*/