diff options
| author | RGA(OpenERP) <> | 2012-11-09 10:57:43 +0530 |
|---|---|---|
| committer | RGA(OpenERP) <> | 2012-11-09 10:57:43 +0530 |
| commit | aa8a73cebb4b0975b85e3d48024f41bb59bf031b (patch) | |
| tree | 5a0f5e940a04d4c47cb726d68f6c8141c2ed44d8 /addons/auth_openid/static/src/js | |
| parent | 9accfe4e93409967756ec1a17c308017c82e482a (diff) | |
| parent | 0528e00788a7cca36353a2996ab58568bdd8be78 (diff) | |
Merge with trunk
bzr revid: rgaopenerp-20121109052743-v8ts1k78k37dfgpx
Diffstat (limited to 'addons/auth_openid/static/src/js')
| -rw-r--r-- | addons/auth_openid/static/src/js/auth_openid.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/auth_openid/static/src/js/auth_openid.js b/addons/auth_openid/static/src/js/auth_openid.js index 56ec5b57d3f..a8901ee80f1 100644 --- a/addons/auth_openid/static/src/js/auth_openid.js +++ b/addons/auth_openid/static/src/js/auth_openid.js @@ -69,7 +69,7 @@ instance.web.Login = instance.web.Login.extend({ _check_error: function() { var self = this; if (this.params.loginerror !== undefined) { - this.rpc('/auth_openid/login/status', {}).then(function(result) { + this.rpc('/auth_openid/login/status', {}).done(function(result) { if (_.contains(['success', 'failure'], result.status) && result.message) { self.do_warn('Invalid OpenID Login', result.message); } @@ -106,7 +106,7 @@ instance.web.Login = instance.web.Login.extend({ do_openid_login: function(db, openid_url) { var self = this; - this.rpc('/auth_openid/login/verify', {'db': db, 'url': openid_url}).then(function(result) { + this.rpc('/auth_openid/login/verify', {'db': db, 'url': openid_url}).done(function(result) { if (result.error) { self.do_warn(result.title, result.error); return; |
