projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b80d84a
)
[FIX] auth_signup: change test to determine when signing in
author
Raphael Collet
<rco@openerp.com>
Fri, 28 Sep 2012 08:52:59 +0000
(10:52 +0200)
committer
Raphael Collet
<rco@openerp.com>
Fri, 28 Sep 2012 08:52:59 +0000
(10:52 +0200)
bzr revid: rco@openerp.com-
20120928085259
-cb51yq7e7mivxsw3
addons/auth_signup/static/src/js/auth_signup.js
patch
|
blob
|
history
diff --git
a/addons/auth_signup/static/src/js/auth_signup.js
b/addons/auth_signup/static/src/js/auth_signup.js
index
927ee8d
..
9bc775c
100644
(file)
--- a/
addons/auth_signup/static/src/js/auth_signup.js
+++ b/
addons/auth_signup/static/src/js/auth_signup.js
@@
-58,7
+58,7
@@
openerp.auth_signup = function(instance) {
if (ev) {
ev.preventDefault();
}
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();
// signup user (or reset password)
var db = this.$("form [name=db]").val();
var name = this.$("form input[name=name]").val();