summaryrefslogtreecommitdiff
path: root/addons/web/doc/module/static/src/js/first_module.js.2.diff
diff options
context:
space:
mode:
Diffstat (limited to 'addons/web/doc/module/static/src/js/first_module.js.2.diff')
-rw-r--r--addons/web/doc/module/static/src/js/first_module.js.2.diff4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/web/doc/module/static/src/js/first_module.js.2.diff b/addons/web/doc/module/static/src/js/first_module.js.2.diff
index 88a80f50fff..f3bceecdc78 100644
--- a/addons/web/doc/module/static/src/js/first_module.js.2.diff
+++ b/addons/web/doc/module/static/src/js/first_module.js.2.diff
@@ -4,8 +4,8 @@
// static/src/js/first_module.js
openerp.web_example = function (instance) {
- console.log("Module loaded");
-+ instance.web.client_actions.add('example.action', 'instance.web_example.action');
-+ instance.web_example.action = function (parent, action) {
++ instance.web.client_actions.add('example.action', 'instance.web_example.Action');
++ instance.web_example.Action = function (parent, action) {
+ console.log("Executed the action", action);
+ };
};