summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/abstract_controller.js
diff options
context:
space:
mode:
Diffstat (limited to 'addons/web/static/src/js/views/abstract_controller.js')
-rw-r--r--addons/web/static/src/js/views/abstract_controller.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/web/static/src/js/views/abstract_controller.js b/addons/web/static/src/js/views/abstract_controller.js
index f4f323b01ba..155b1792dc6 100644
--- a/addons/web/static/src/js/views/abstract_controller.js
+++ b/addons/web/static/src/js/views/abstract_controller.js
@@ -91,7 +91,7 @@ var AbstractController = AbstractAction.extend(ControlPanelMixin, {
this._super.apply(this, arguments),
this.renderer.appendTo(this.$el)
).then(function () {
- self._update(self.initialState);
+ return self._update(self.initialState);
});
},
/**
@@ -257,7 +257,7 @@ var AbstractController = AbstractAction.extend(ControlPanelMixin, {
return;
}
self.renderer.setLocalState(localState);
- self._update(state);
+ return self._update(state);
});
});
},