From 355a5dfc365c419f3be2e1ccffe0cb38e1140d27 Mon Sep 17 00:00:00 2001 From: mreficent Date: Fri, 2 Aug 2019 11:26:58 +0000 Subject: [IMP] *: fix typos in comments closes odoo/odoo#35404 Signed-off-by: Martin Trigaux (mat) --- addons/web/static/src/js/chrome/action_manager.js | 4 ++-- addons/web/static/src/js/chrome/action_mixin.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'addons/web/static/src/js/chrome') diff --git a/addons/web/static/src/js/chrome/action_manager.js b/addons/web/static/src/js/chrome/action_manager.js index 3d2dc7a4076..746460bdc4f 100644 --- a/addons/web/static/src/js/chrome/action_manager.js +++ b/addons/web/static/src/js/chrome/action_manager.js @@ -451,7 +451,7 @@ var ActionManager = Widget.extend({ var prom = this._executeAction(action, options); prom.then(function () { // AAB: this should be done automatically in AbstractAction, so that - // it can be overriden by actions that have specific stuff to push + // it can be overridden by actions that have specific stuff to push // (e.g. Discuss, Views) self._pushState(controllerID, {}); }); @@ -644,7 +644,7 @@ var ActionManager = Widget.extend({ }, /** * Dispatches the given action to the corresponding handler to execute it, - * according to its type. This function can be overriden to extend the + * according to its type. This function can be overridden to extend the * range of supported action types. * * @private diff --git a/addons/web/static/src/js/chrome/action_mixin.js b/addons/web/static/src/js/chrome/action_mixin.js index 02345e7e969..fa13e64e63e 100644 --- a/addons/web/static/src/js/chrome/action_mixin.js +++ b/addons/web/static/src/js/chrome/action_mixin.js @@ -89,7 +89,7 @@ var ActionMixin = { * example, if the user has edited a form, maybe we should ask him if we * can discard all his changes when we switch to another action. In that * case, the action manager will call this method. If the returned - * promise is succesfully resolved, then we can destroy the current action, + * promise is successfully resolved, then we can destroy the current action, * otherwise, we need to stop. * * @returns {Promise} resolved if the action can be removed, rejected -- cgit v1.2.3