[FIX] Fix QWeb2.tools.extend causing t-import="" to fail
bzr revid: fme@openerp.com-20110504104357-nasddf7xj8i78s9k
This commit is contained in:
@@ -53,7 +53,7 @@ var QWeb2 = {
|
||||
},
|
||||
extend: function(dst, src, exclude) {
|
||||
for (var p in src) {
|
||||
if (src.hasOwnProperty(p) && !(exclude && this.arrayIndexOf(exclude, p))) {
|
||||
if (src.hasOwnProperty(p) && !(exclude && this.arrayIndexOf(exclude, p) !== -1)) {
|
||||
dst[p] = src[p];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user