Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I think this problem is the same as in WP7 described <a href="https://github.com/jquery/jquery-mobile/pull/5235" rel="nofollow" title="here">here</a>.</p> <p><strong>CHECK FOR PATH PROBLEM:</strong></p> <pre><code>if($.mobile.path.getLocation("x-wmapp1:/app/www/index.html") != "x-wmapp1:/app/www/index.html") { console.log('there is path problem'); } else { console.log('everything is OK with paths'); } </code></pre> <p><strong>SOLUTION:</strong></p> <p>As described in github, problem is path on WP7 differs from other platforms. Basically on WP7 getLocation prints relative paths with double slashes, which causes this issue at first place. To fix, open <em>jquery.mobile-1.3.1.js</em> and refactor following:</p> <pre><code>- var uri = url ? this.parseUrl( url ) : location, - hash = this.parseUrl( url || location.href ).hash; + var uri = this.parseUrl( url || location.href ), + hash = uri.hash; </code></pre> <p>and:</p> <pre><code>- return uri.protocol + "//" + uri.host + uri.pathname + uri.search + hash; + return uri.protocol + uri.doubleSlash + uri.host + uri.pathname + uri.search + hash; </code></pre> <p>After making this changes, check should display "everything is OK".</p> <p>PS This is tested on WP7 and totally fixed my issue with $.mobile.changePage().</p> <p>PS2 This issue is fixed at github version of jQuery, although I've just checked latest stable version(<a href="http://code.jquery.com/mobile/1.3.2/jquery.mobile-1.3.2.js" rel="nofollow" title="1.3.2">1.3.2</a>) and unfortunately it is NOT fixed there.</p> <p>Regards,</p> <p>Hristo Todorov</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload