diff options
| author | Martin Geubelle <mge@odoo.com> | 2016-01-26 14:48:45 +0100 |
|---|---|---|
| committer | Géry Debongnie <ged@odoo.com> | 2016-01-27 16:31:16 +0100 |
| commit | f19210ee08448aebbb5e378067aa5c903b8f45f6 (patch) | |
| tree | 89214156d8e2b22d504dc937596fbf03e4393dbf /addons/web/static/src/js/action_manager.js | |
| parent | 36994a6616fae35b702c6bb9f1ed3779ece66fa6 (diff) | |
[FIX] web: properly remove nvd3 tooltips
We fixed it for the graph view in 6bdf72bac5f6e8 but this
needs to be fixed for every views.
Diffstat (limited to 'addons/web/static/src/js/action_manager.js')
| -rw-r--r-- | addons/web/static/src/js/action_manager.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/addons/web/static/src/js/action_manager.js b/addons/web/static/src/js/action_manager.js index 2337583b7f9..5eb5aaa9891 100644 --- a/addons/web/static/src/js/action_manager.js +++ b/addons/web/static/src/js/action_manager.js @@ -180,6 +180,9 @@ var ViewManagerAction = WidgetAction.extend({ * @return {jQuery} the view_manager's $el */ detach: function() { + // Hack to remove badly inserted nvd3 tooltips ; should be removed when upgrading nvd3 lib + $('body > .nvtooltip').remove(); + return this.widget.$el.detach(); }, /** |
