From e87a05f9a945cdaffc47f1b6f0dad430d3f5d422 Mon Sep 17 00:00:00 2001 From: Xavier Morel Date: Thu, 1 Mar 2012 12:26:27 +0100 Subject: [PATCH] [FIX] mobile client breakage from a bunch of changes only set in the main client Culprit commits: * fme@openerp.com-20120214105145-pat0srumt8m7nq38 (update of jquery-ui timepicker, move of its files) * xmo@openerp.com-20120227073721-nkgeiqacbzch8xev (update & rename of py.parse to py.js) * nicolas.vanhoren@openerp.com-20120229111140-ta8fwqzdjwm2br88 (extract stuff to un-linked library, rename methods) lp bug: https://launchpad.net/bugs/943697 fixed bzr revid: xmo@openerp.com-20120301112627-24ipmxfosd9xin8o --- addons/web_mobile/static/src/js/chrome_mobile.js | 2 +- addons/web_mobile/static/src/web_mobile.html | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/addons/web_mobile/static/src/js/chrome_mobile.js b/addons/web_mobile/static/src/js/chrome_mobile.js index bcfedd49dba..a28956a0cab 100644 --- a/addons/web_mobile/static/src/js/chrome_mobile.js +++ b/addons/web_mobile/static/src/js/chrome_mobile.js @@ -23,7 +23,7 @@ openerp.web_mobile.MobileWebClient = openerp.web.OldWidget.extend({ start: function() { this._super.apply(this, arguments); var self = this; - this.session.bind().then(function() { + this.session.bind_session().then(function() { openerp.web.qweb.add_template("xml/web_mobile.xml"); self.$element.html(self.render()); self.login.start(); diff --git a/addons/web_mobile/static/src/web_mobile.html b/addons/web_mobile/static/src/web_mobile.html index 391b6c2be7b..5e811f99b48 100755 --- a/addons/web_mobile/static/src/web_mobile.html +++ b/addons/web_mobile/static/src/web_mobile.html @@ -13,7 +13,7 @@ - + @@ -22,9 +22,10 @@ - + +