summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/chrome/web_client.js
diff options
context:
space:
mode:
authorMohammed Shekha <msh@openerp.com>2018-01-18 18:55:27 +0530
committerAaron Bohy <aab@odoo.com>2018-01-19 14:31:05 +0100
commit7faecb6fe43d5fc42e43aa7080952c186dcf3804 (patch)
treeb4a74cf968de4f6a6f871a70f947042f56801f03 /addons/web/static/src/js/chrome/web_client.js
parenta4a54ab8387b68b4477ba3b22bc974ebd349b0d3 (diff)
[FIX] web: WebClient: notify the ActionManager it's in the DOM
Before this rev., on_attach_callback of the ActionManager wasn't called at init, because the WebClient didn't use the append function of dom_utils.
Diffstat (limited to 'addons/web/static/src/js/chrome/web_client.js')
-rw-r--r--addons/web/static/src/js/chrome/web_client.js3
1 files changed, 0 insertions, 3 deletions
diff --git a/addons/web/static/src/js/chrome/web_client.js b/addons/web/static/src/js/chrome/web_client.js
index c39917d5118..d824e3e4176 100644
--- a/addons/web/static/src/js/chrome/web_client.js
+++ b/addons/web/static/src/js/chrome/web_client.js
@@ -23,9 +23,6 @@ return AbstractWebClient.extend({
show_application: function() {
var self = this;
- // Allow to call `on_attach_callback` and `on_detach_callback` when needed
- this.action_manager.is_in_DOM = true;
-
this.toggle_bars(true);
this.set_title();
this.update_logo();