diff options
| author | Valentin Lab <valentin.lab@kalysto.org> | 2011-10-03 12:03:55 +0200 |
|---|---|---|
| committer | Valentin Lab <valentin.lab@kalysto.org> | 2011-10-03 12:03:55 +0200 |
| commit | 7d762f3a7965abbcd607811841db7b80fc044d90 (patch) | |
| tree | 3338614acf761525e0ea2588f0d7495a9daeb9e5 /addons/web_mobile/static/src | |
| parent | 10380b13431a981bd942a04c49c6afb69c19dc18 (diff) | |
[fix] removes endless refresh.
bzr revid: valentin.lab@kalysto.org-20111003100355-d3912c54azy10jhq
Diffstat (limited to 'addons/web_mobile/static/src')
| -rw-r--r-- | addons/web_mobile/static/src/js/chrome_mobile.js | 3 |
1 files changed, 0 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 bdde5efbdc4..5d9f6c0d2ba 100644 --- a/addons/web_mobile/static/src/js/chrome_mobile.js +++ b/addons/web_mobile/static/src/js/chrome_mobile.js @@ -17,9 +17,6 @@ openerp.web_mobile.MobileWebClient = openerp.web.Widget.extend({ init: function(element_id) { this._super(null, element_id); - if(document.URL.length>59){ - window.location.replace('/mobile'); - } openerp.web.qweb.add_template("xml/web_mobile.xml"); var params = {}; this.$element.html(this.render()); |
