summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabien Meghazi <fme@openerp.com>2014-01-14 10:08:19 +0100
committerFabien Meghazi <fme@openerp.com>2014-01-14 10:08:19 +0100
commit2c02157b7bf57bc4b01369323ff1630705781062 (patch)
treedb19fc0fa2b6e263d01fc773ba88746e356c8782
parentbbfae00dde9f5a953d5e84e6169d8eca7e1e1f50 (diff)
[ADD] Comment some Login addons javascript until they are remade server side
bzr revid: fme@openerp.com-20140114090819-vfswqeuqg2bg3ybu
-rw-r--r--addons/auth_oauth/static/src/js/auth_oauth.js3
-rw-r--r--addons/auth_oauth_signup/static/src/js/auth_oauth_signup.js2
-rw-r--r--addons/auth_openid/static/src/js/auth_openid.js2
-rw-r--r--addons/auth_signup/static/src/js/auth_signup.js2
4 files changed, 8 insertions, 1 deletions
diff --git a/addons/auth_oauth/static/src/js/auth_oauth.js b/addons/auth_oauth/static/src/js/auth_oauth.js
index 5046469a5dc..a4295877e76 100644
--- a/addons/auth_oauth/static/src/js/auth_oauth.js
+++ b/addons/auth_oauth/static/src/js/auth_oauth.js
@@ -3,6 +3,7 @@ openerp.auth_oauth = function(instance) {
_lt = instance.web._lt;
var QWeb = instance.web.qweb;
+ /* TODO: make this a server side controller
instance.web.Login.include({
start: function(parent, params) {
var self = this;
@@ -76,5 +77,5 @@ openerp.auth_oauth = function(instance) {
};
},
});
-
+ */
};
diff --git a/addons/auth_oauth_signup/static/src/js/auth_oauth_signup.js b/addons/auth_oauth_signup/static/src/js/auth_oauth_signup.js
index 6715943af9b..926fb607358 100644
--- a/addons/auth_oauth_signup/static/src/js/auth_oauth_signup.js
+++ b/addons/auth_oauth_signup/static/src/js/auth_oauth_signup.js
@@ -1,5 +1,6 @@
openerp.auth_oauth_signup = function(instance) {
+ /* TODO: make this a server side controller
// override Login._oauth_state to add the signup token in the state
instance.web.Login.include({
_oauth_state: function(provider) {
@@ -10,5 +11,6 @@ openerp.auth_oauth_signup = function(instance) {
return state;
},
});
+ */
};
diff --git a/addons/auth_openid/static/src/js/auth_openid.js b/addons/auth_openid/static/src/js/auth_openid.js
index ac2804cb130..a96346f4699 100644
--- a/addons/auth_openid/static/src/js/auth_openid.js
+++ b/addons/auth_openid/static/src/js/auth_openid.js
@@ -3,6 +3,7 @@ openerp.auth_openid = function(instance) {
var QWeb = instance.web.qweb;
+/* TODO: make this a server side controller
instance.web.Login = instance.web.Login.extend({
start: function() {
var self = this;
@@ -149,6 +150,7 @@ instance.web.Login = instance.web.Login.extend({
}
});
+*/
};
diff --git a/addons/auth_signup/static/src/js/auth_signup.js b/addons/auth_signup/static/src/js/auth_signup.js
index d9edb44d65f..d10f96316e2 100644
--- a/addons/auth_signup/static/src/js/auth_signup.js
+++ b/addons/auth_signup/static/src/js/auth_signup.js
@@ -2,6 +2,7 @@ openerp.auth_signup = function(instance) {
instance.auth_signup = instance.auth_signup || {};
var _t = instance.web._t;
+ /* TODO: make this a server side controller
instance.web.Login.include({
start: function() {
var self = this;
@@ -183,4 +184,5 @@ openerp.auth_signup = function(instance) {
});
},
});
+ */
};