summaryrefslogtreecommitdiff
path: root/doc/reference/javascript_cheatsheet.rst
diff options
context:
space:
mode:
Diffstat (limited to 'doc/reference/javascript_cheatsheet.rst')
-rw-r--r--doc/reference/javascript_cheatsheet.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/reference/javascript_cheatsheet.rst b/doc/reference/javascript_cheatsheet.rst
index 447405ad711..ea22e8f4715 100644
--- a/doc/reference/javascript_cheatsheet.rst
+++ b/doc/reference/javascript_cheatsheet.rst
@@ -144,9 +144,9 @@ in the action registry.
.. code-block:: javascript
var ControlPanelMixin = require('web.ControlPanelMixin');
- var Widget = require('web.Widget');
+ var AbstractAction = require('web.AbstractAction');
- var ClientAction = Widget.extend(ControlPanelMixin, {
+ var ClientAction = AbstractAction.extend(ControlPanelMixin, {
...
});