WordPress-jQuery-mobile-and-Phonegap-app-for-iOS icon indicating copy to clipboard operation
WordPress-jQuery-mobile-and-Phonegap-app-for-iOS copied to clipboard

Jquery mobile doesn't understand the index parameter in the article url

Open poz924 opened this issue 11 years ago • 4 comments

I have an issue displaying the page single.html, it looks like the parameter generated with handlebars is not understood by Jquery Mobile.

<a data-prefetch="true" data-transition="slide" href="single.html?{{@index}}">{{title}}</a>

When I desactivate Jquery Mobile, the single page load just fine. But when I'm using the library, it doesn't take the index parameter. Any idea on how could I fix this. Sorry for my english and thank you for sharing your knowledge. Cheers ! Thomas.

poz924 avatar Sep 11 '13 14:09 poz924

@poz924 did you add handlebars engine?

abachuk avatar Sep 11 '13 14:09 abachuk

Yes, I have the same as in your project.

poz924 avatar Sep 11 '13 15:09 poz924

do you use same version of jquery mobile as in the repo? I'll try to replicate the problem in my local env.

abachuk avatar Sep 11 '13 15:09 abachuk

The main difference is that I'm using the 2.8 cordova version, the other libraries are the same as in your repository.

poz924 avatar Sep 11 '13 15:09 poz924