diff options
| author | Christophe Simonis <chs@odoo.com> | 2016-11-08 15:13:05 +0100 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2016-11-08 15:13:05 +0100 |
| commit | 7eb8ed276992cf3ce693a02414f6558ee553128e (patch) | |
| tree | e41dd25308e836d30ccf609814b8942959cf2dc4 /addons/web/static/src/js/widgets | |
| parent | 5a030db3eb77b6d80187f8ae1a64303b2f50391d (diff) | |
| parent | 3d085f632d4c5a8aece92731494e1dbbc8923049 (diff) | |
[MERGE] forward port branch 10.0 up to 3d085f6
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})); |
