[FIX] auth_signup: change test to determine when signing in
bzr revid: rco@openerp.com-20120928085259-cb51yq7e7mivxsw3
This commit is contained in:
parent
b80d84aafc
commit
0f4529603c
|
@ -58,7 +58,7 @@ openerp.auth_signup = function(instance) {
|
|||
if (ev) {
|
||||
ev.preventDefault();
|
||||
}
|
||||
if (this.params.token || this.$("input[name=signup]:checked").val()) {
|
||||
if (this.$el.hasClass("oe_login_signup")) {
|
||||
// signup user (or reset password)
|
||||
var db = this.$("form [name=db]").val();
|
||||
var name = this.$("form input[name=name]").val();
|
||||
|
|
Loading…
Reference in New Issue