summaryrefslogtreecommitdiff
path: root/addons/auth_signup/static
diff options
context:
space:
mode:
authorChristophe Simonis <chs@openerp.com>2012-11-14 17:54:46 +0100
committerChristophe Simonis <chs@openerp.com>2012-11-14 17:54:46 +0100
commit127499354078fabd964aa1cdcde3a815a0ad7ab5 (patch)
tree993a17b4d6085fdbf766f65c5cb210fc70e273b3 /addons/auth_signup/static
parent4fb15efb59afe8ce98bb962b54163d3d7cb35a39 (diff)
[FIX] auth_signup + auth_anonymous: update to new api
bzr revid: chs@openerp.com-20121114165446-7f4xv1yb11pu50ya
Diffstat (limited to 'addons/auth_signup/static')
-rw-r--r--addons/auth_signup/static/src/js/auth_signup.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/addons/auth_signup/static/src/js/auth_signup.js b/addons/auth_signup/static/src/js/auth_signup.js
index bb249429894..3025069dece 100644
--- a/addons/auth_signup/static/src/js/auth_signup.js
+++ b/addons/auth_signup/static/src/js/auth_signup.js
@@ -41,7 +41,7 @@ openerp.auth_signup = function(instance) {
on_token_loaded: function(result) {
// select the right the database
this.selected_db = result.db;
- this.on_db_loaded({db_list: [result.db]});
+ this.on_db_loaded([result.db]);
if (result.token) {
// switch to signup mode, set user name and login
this.$el.addClass("oe_login_signup");
@@ -80,16 +80,16 @@ openerp.auth_signup = function(instance) {
this.do_warn("Login", "No database selected !");
return false;
} else if (!name) {
- this.do_warn("Login", "Please enter a name.")
+ this.do_warn("Login", "Please enter a name.");
return false;
} else if (!login) {
- this.do_warn("Login", "Please enter a username.")
+ this.do_warn("Login", "Please enter a username.");
return false;
} else if (!password || !confirm_password) {
- this.do_warn("Login", "Please enter a password and confirm it.")
+ this.do_warn("Login", "Please enter a password and confirm it.");
return false;
} else if (password !== confirm_password) {
- this.do_warn("Login", "Passwords do not match; please retype them.")
+ this.do_warn("Login", "Passwords do not match; please retype them.");
return false;
}
var params = {