diff options
| author | niv-openerp <nicolas.vanhoren@openerp.com> | 2012-04-05 10:14:01 +0200 |
|---|---|---|
| committer | niv-openerp <nicolas.vanhoren@openerp.com> | 2012-04-05 10:14:01 +0200 |
| commit | 6b8e4e08324fda33a7583e364a96ecb265411015 (patch) | |
| tree | 135f2bc3fcfb5b38733794bceeb3ca1bbaba8954 /addons/web/static/src/js/chrome.js | |
| parent | a015651b0c38a9017ac2ecd750d72aa5bb3dfc88 (diff) | |
| parent | 6f24433aef46bb059ed07bd3b11faf758529ca91 (diff) | |
[merge]
bzr revid: nicolas.vanhoren@openerp.com-20120405081401-pmd3e12tzar3yubg
Diffstat (limited to 'addons/web/static/src/js/chrome.js')
| -rw-r--r-- | addons/web/static/src/js/chrome.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/web/static/src/js/chrome.js b/addons/web/static/src/js/chrome.js index aec1b8aeffc..277c7ef5652 100644 --- a/addons/web/static/src/js/chrome.js +++ b/addons/web/static/src/js/chrome.js @@ -989,7 +989,7 @@ openerp.web.WebClient = openerp.web.Widget.extend(/** @lends openerp.web.WebClie self.$element.toggleClass('clark-gable'); }); } - this.session.bind_session().then(function() { + this.session.session_bind().then(function() { if (!self.session.session_is_valid()) { self.show_login(); } @@ -1166,7 +1166,7 @@ openerp.web.embed = function (origin, dbname, login, key, action, options) { var sc = document.getElementsByTagName('script'); currentScript = sc[sc.length-1]; } - openerp.connection.bind_session(origin).then(function () { + openerp.connection.session_bind(origin).then(function () { openerp.connection.session_authenticate(dbname, login, key, true).then(function () { var client = new openerp.web.EmbeddedClient(action, options); client.insertAfter(currentScript); |
