IBM Worklight v 5.0.6 - Can't navigate multipages on Windows Phone 7.5 environment

天大地大妈咪最大 提交于 2019-12-02 04:31:29
Idan Adar

Please try the solution described here: jQuery Mobile changePage() not working in Windows Phone

Namely:
open jquery.mobile-1.3.2.js and refactor the following:

-        var uri = url ? this.parseUrl( url ) : location,
-          hash = this.parseUrl( url || location.href ).hash;
+        var uri = this.parseUrl( url || location.href ),
+          hash = uri.hash;

and:

-        return uri.protocol + "//" + uri.host + uri.pathname + uri.search + hash;
+        return uri.protocol + uri.doubleSlash + uri.host + uri.pathname + uri.search + hash;

Note that I only checked this with the changePage method, but hopefully this fixes the file location for everything, including what you are experiencing.

Note: Be sure to return the application to its original state.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!