From f3d48483f4dc33fd87abd21b0c8816135fb986b8 Mon Sep 17 00:00:00 2001 From: Fabien Meghazi Date: Thu, 28 Feb 2013 17:44:17 +0100 Subject: [PATCH] [IMP] init() not need anymore bzr revid: fme@openerp.com-20130228164417-19xclqx1u9t6krg1 --- addons/auth_signup/static/src/js/auth_signup.js | 7 ++----- 1 file changed, 2 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 f8c493a572b..69a4cc35b52 100644 --- a/addons/auth_signup/static/src/js/auth_signup.js +++ b/addons/auth_signup/static/src/js/auth_signup.js @@ -3,13 +3,10 @@ openerp.auth_signup = function(instance) { var _t = instance.web._t; instance.web.Login.include({ - init: function() { - this._super.apply(this, arguments); - this.signup_enabled = false; - this.reset_password_enabled = false; - }, start: function() { var self = this; + this.signup_enabled = false; + this.reset_password_enabled = false; return this._super().then(function() { // Switches the login box to the select mode whith mode == [default|signup|reset]