[FIX] typo: remember to instantiate objects
bzr revid: xmo@openerp.com-20120503155532-q2es166215yfgn7g
This commit is contained in:
@@ -1026,7 +1026,7 @@ instance.web.search.Field = instance.web.search.Input.extend( /** @lends instanc
|
||||
|
||||
if (contexts.length === 1) { return contexts[0]; }
|
||||
|
||||
return _.extend(instance.web.CompoundContext, {
|
||||
return _.extend(new instance.web.CompoundContext, {
|
||||
__contexts: contexts
|
||||
});
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user