diff options
| author | Christophe Simonis <chs@odoo.com> | 2016-11-08 14:20:07 +0100 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2016-11-08 14:20:07 +0100 |
| commit | c19f54650594211e4af7e68214de4f118686b8e1 (patch) | |
| tree | ae27c8fb401e8159bad45781a8e7b0ab20235b35 /addons/web/static/src/js/widgets | |
| parent | d32970830ea938bead60e8368a3389f9d20853df (diff) | |
| parent | b7957550010e0cecc1dbefcbc122d9a49f50ae1d (diff) | |
[MERGE] forward port branch 9.0 up to b795755
Diffstat (limited to 'addons/web/static/src/js/widgets')
| -rw-r--r-- | addons/web/static/src/js/widgets/sidebar.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/addons/web/static/src/js/widgets/sidebar.js b/addons/web/static/src/js/widgets/sidebar.js index 03997db6c36..1e382c3d985 100644 --- a/addons/web/static/src/js/widgets/sidebar.js +++ b/addons/web/static/src/js/widgets/sidebar.js @@ -52,6 +52,10 @@ var Sidebar = Widget.extend({ event.preventDefault(); }); }, + destroy: function() { + $(window).off(this.fileupload_id); + return this._super.apply(this, arguments); + }, redraw: function() { this.$el.html(QWeb.render('Sidebar', {widget: this})); |
