[FIX] typo in method name in apps.js
authorChristophe Simonis <chs@openerp.com>
Mon, 15 Apr 2013 14:47:08 +0000 (16:47 +0200)
committerChristophe Simonis <chs@openerp.com>
Mon, 15 Apr 2013 14:47:08 +0000 (16:47 +0200)
bzr revid: chs@openerp.com-20130415144708-ezj5xeuo3yylb5em

openerp/addons/base/static/src/js/apps.js

index 4ac0100..eaaca6b 100644 (file)
@@ -44,7 +44,7 @@ openerp.base = function(instance) {
                             } else {
                                 sessionStorage.removeItem('apps.login');
                                 sessionStorage.removeItem('apps.access_token');
-                                client.bind_crendentials(client.dbname, 'anonymous', 'anonymous');
+                                client.bind_credentials(client.dbname, 'anonymous', 'anonymous');
                                 client.authenticate().then(
                                    function() {     /* done */
                                     d.resolve(client);