[FIX] jquery-ui reference in mobile client
lp bug: https://launchpad.net/bugs/926014 fixed bzr revid: xmo@openerp.com-20120203125132-9crn5qgjqweoeg3a
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
<link rel="stylesheet" href="/web_mobile/static/src/css/web_mobile.css"/>
|
||||
|
||||
<script type="text/javascript" src="/web/static/lib/jquery/jquery-1.6.4.js"></script>
|
||||
<script type="text/javascript" src="/web/static/lib/jquery.ui/js/jquery-ui-1.8.9.custom.min.js"></script>
|
||||
<script type="text/javascript" src="/web/static/lib/jquery.ui/js/jquery-ui-1.8.17.custom.min.js"></script>
|
||||
<script type="text/javascript" src="/web/static/lib/jquery.ba-bbq/jquery.ba-bbq.js"></script>
|
||||
<script type="text/javascript" src="/web/static/lib/underscore/underscore.js"></script>
|
||||
<script type="text/javascript" src="/web/static/lib/underscore/underscore.string.js"></script>
|
||||
@@ -49,9 +49,9 @@
|
||||
|
||||
<script type="text/javascript">
|
||||
var QWeb;
|
||||
$(function() {
|
||||
if(document.URL!="http://"+window.location.host+"/web_mobile/static/src/web_mobile.html"){
|
||||
window.location.replace('/mobile');
|
||||
$(function() {
|
||||
if(document.URL!="http://"+window.location.host+"/web_mobile/static/src/web_mobile.html"){
|
||||
window.location.replace('/mobile');
|
||||
}
|
||||
var oe = openerp.init();
|
||||
openerp.web_mobile(oe);
|
||||
|
||||
Reference in New Issue
Block a user