<script type="text/javascript">\r
var QWeb;\r
$(function() {\r
- if(document.URL!="http://"+window.location.host+"/web_mobile/static/src/web_mobile.html"){\r
+ if(window.location.pathname!="/web_mobile/static/src/web_mobile.html"){\r
window.location.replace('/mobile');\r
}\r
var oe = openerp.init();\r