From 861186d136460a174e7b4e6182b939cdf3d560de Mon Sep 17 00:00:00 2001 From: niv-openerp Date: Fri, 26 Jul 2013 17:44:54 +0200 Subject: [PATCH] Fixed potential problem in web_test_demo bzr revid: nicolas.vanhoren@openerp.com-20130726154454-9hu2gpxcz4ynhmkj --- addons/web_tests_demo/static/src/js/demo.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/web_tests_demo/static/src/js/demo.js b/addons/web_tests_demo/static/src/js/demo.js index b35b44b80f8..506808027cc 100644 --- a/addons/web_tests_demo/static/src/js/demo.js +++ b/addons/web_tests_demo/static/src/js/demo.js @@ -1,11 +1,11 @@ // static/src/js/demo.js openerp.web_tests_demo = function (instance) { - instance.web_tests_demo = { + _.extend(instance.web_tests_demo, { value_true: true, SomeType: instance.web.Class.extend({ init: function (value) { this.value = value; } }) - }; + }); };