diff options
| author | Christophe Matthieu <chm@odoo.com> | 2017-05-11 10:47:18 +0200 |
|---|---|---|
| committer | Christophe Matthieu <chm@odoo.com> | 2017-05-15 13:16:02 +0200 |
| commit | ef35702cbcc10caa203eccdfe6ea5166fdac15c4 (patch) | |
| tree | 5984624649ec4b4e772162141c374a81312ed38d /addons/web/static/src/js/views/graph/graph_controller.js | |
| parent | 1c5ea99b7b82c2b6f28ad1a3dbffc1300fda6466 (diff) | |
[FIX] web: remove some memory leak
Diffstat (limited to 'addons/web/static/src/js/views/graph/graph_controller.js')
| -rw-r--r-- | addons/web/static/src/js/views/graph/graph_controller.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/static/src/js/views/graph/graph_controller.js b/addons/web/static/src/js/views/graph/graph_controller.js index 040311a3919..388d390701c 100644 --- a/addons/web/static/src/js/views/graph/graph_controller.js +++ b/addons/web/static/src/js/views/graph/graph_controller.js @@ -30,7 +30,7 @@ var GraphController = AbstractController.extend({ destroy: function () { if (this.$buttons) { // remove jquery's tooltip() handlers - this.$buttons.find('button').off(); + this.$buttons.find('button').off().tooltip('destroy'); } this._super.apply(this, arguments); }, |
