[FIX] jquery-ui reference in mobile client
authorXavier Morel <xmo@openerp.com>
Fri, 3 Feb 2012 12:51:32 +0000 (13:51 +0100)
committerXavier Morel <xmo@openerp.com>
Fri, 3 Feb 2012 12:51:32 +0000 (13:51 +0100)
lp bug: https://launchpad.net/bugs/926014 fixed

bzr revid: xmo@openerp.com-20120203125132-9crn5qgjqweoeg3a

addons/web_mobile/static/src/web_mobile.html

index b63ddb2..b0e7807 100755 (executable)
@@ -9,7 +9,7 @@
     <link rel="stylesheet" href="/web_mobile/static/src/css/web_mobile.css"/>\r
 \r
     <script type="text/javascript" src="/web/static/lib/jquery/jquery-1.6.4.js"></script>\r
-    <script type="text/javascript" src="/web/static/lib/jquery.ui/js/jquery-ui-1.8.9.custom.min.js"></script>\r
+    <script type="text/javascript" src="/web/static/lib/jquery.ui/js/jquery-ui-1.8.17.custom.min.js"></script>\r
     <script type="text/javascript" src="/web/static/lib/jquery.ba-bbq/jquery.ba-bbq.js"></script>\r
     <script type="text/javascript" src="/web/static/lib/underscore/underscore.js"></script>\r
     <script type="text/javascript" src="/web/static/lib/underscore/underscore.string.js"></script>\r
@@ -49,9 +49,9 @@
 \r
     <script type="text/javascript">\r
         var QWeb;\r
-        $(function() {
-            if(document.URL!="http://"+window.location.host+"/web_mobile/static/src/web_mobile.html"){
-                window.location.replace('/mobile');
+        $(function() {\r
+            if(document.URL!="http://"+window.location.host+"/web_mobile/static/src/web_mobile.html"){\r
+                window.location.replace('/mobile');\r
             }\r
             var oe = openerp.init();\r
             openerp.web_mobile(oe);\r