diff options
| author | Nhomar Hernandez <nhomar@gmail.com> | 2013-05-17 16:26:08 -0430 |
|---|---|---|
| committer | Nhomar Hernandez <nhomar@gmail.com> | 2013-05-17 16:26:08 -0430 |
| commit | f0ae319dec9db6256c41e70e4be4c800c5d470e4 (patch) | |
| tree | 17c97b5d0bae05df3a5e6f7266b98045fc8d65a6 /addons/web/doc/module/static/src/js/first_module.js.2.diff | |
| parent | c694837a645cb43287ad1af1a033ee09bb8faf53 (diff) | |
[IMP] When we go step by step, change the Case for a variable in a diff
Is a little confufing, in our case 100% of time our team had problems confusing Action with action
Obtaining an error with prototype because incorrect declaration.
IMHO this is a No-Brain merge, but i explain well to be sure you understand my point.
bzr revid: nhomar@gmail.com-20130517205608-wykuz0oxjccf6021
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.diff | 4 |
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); + }; }; |
