[fix] removes endless refresh.

bzr revid: valentin.lab@kalysto.org-20111003100355-d3912c54azy10jhq
This commit is contained in:
Valentin Lab 2011-10-03 12:03:55 +02:00
parent 10380b1343
commit 7d762f3a79
1 changed files with 0 additions and 3 deletions

View File

@ -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());