diff options
| author | niv-openerp <nicolas.vanhoren@openerp.com> | 2012-01-24 16:42:46 +0100 |
|---|---|---|
| committer | niv-openerp <nicolas.vanhoren@openerp.com> | 2012-01-24 16:42:46 +0100 |
| commit | af30dcba24504c28b616ca2c0f6fb6196d314a2d (patch) | |
| tree | 9663c3e249ead6d27160353a42369706c5d8d161 /addons/web/static/src/js/core.js | |
| parent | 6400a55c688843b7cc2b1d8a39464c8b8d54df65 (diff) | |
[fix] problem in Widget
bzr revid: nicolas.vanhoren@openerp.com-20120124154246-bl3ulzt1luhyl9jb
Diffstat (limited to 'addons/web/static/src/js/core.js')
| -rw-r--r-- | addons/web/static/src/js/core.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/addons/web/static/src/js/core.js b/addons/web/static/src/js/core.js index 25aacbe2cc3..c735f113991 100644 --- a/addons/web/static/src/js/core.js +++ b/addons/web/static/src/js/core.js @@ -952,6 +952,8 @@ openerp.web.Widget = openerp.web.CallbackEnabled.extend(/** @lends openerp.web.W init: function(parent) { this._super(); this.session = openerp.connection; + + this.$element = $(document.createElement(this.tag_name)); this.widget_parent = parent; this.widget_children = []; |
