diff options
| author | Xavier Morel <xmo@openerp.com> | 2013-12-03 09:38:35 +0100 |
|---|---|---|
| committer | Xavier Morel <xmo@openerp.com> | 2013-12-03 09:38:35 +0100 |
| commit | 5b4d0b9dbb14dcba8d0595df06d266f0d5edeb60 (patch) | |
| tree | 65aeca8767c3b3144ffdc5634e188c8bd4487b8d /addons/website/static/src | |
| parent | 87b5c7990a18c3ae20d3a409c2e649bcc056ac4b (diff) | |
[FIX] _.intersect renamed to _.intersection in underscore 1.1.7
bzr revid: xmo@openerp.com-20131203083835-btf02ys7vvro28aq
Diffstat (limited to 'addons/website/static/src')
| -rw-r--r-- | addons/website/static/src/js/website.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/website/static/src/js/website.js b/addons/website/static/src/js/website.js index 73f39f94afb..79d5f6b9d57 100644 --- a/addons/website/static/src/js/website.js +++ b/addons/website/static/src/js/website.js @@ -198,7 +198,7 @@ init: function() {} }, options || {}); - var type = _.intersect(Object.keys(options), ['input', 'textarea', 'select']); + var type = _.intersection(Object.keys(options), ['input', 'textarea', 'select']); type = type.length ? type[0] : 'text'; options.field_type = type; options.field_name = options.field_name || options[type]; |
