[FIX] auth_oauth: revert not-so-smart change
bzr revid: rco@openerp.com-20121128093617-gqy2zp5orckwz7nj
This commit is contained in:
parent
20627fc8e5
commit
d132b0d4b0
|
@ -33,9 +33,7 @@ openerp.auth_oauth = function(instance) {
|
|||
this.$(".oe_login_pane form ul").after(buttons);
|
||||
},
|
||||
on_oauth_sign_in: function(ev) {
|
||||
if (ev) {
|
||||
ev.preventDefault();
|
||||
}
|
||||
ev.preventDefault();
|
||||
var index = $(ev.target).data('index');
|
||||
var provider = this.oauth_providers[index];
|
||||
var return_url = _.str.sprintf('%s//%s/auth_oauth/signin', location.protocol, location.host);
|
||||
|
|
Loading…
Reference in New Issue