[fix] removes endless refresh.
bzr revid: valentin.lab@kalysto.org-20111003100355-d3912c54azy10jhq
This commit is contained in:
parent
10380b1343
commit
7d762f3a79
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue