Closed rodcloutier closed 11 years ago
A workaround is to use <a href="sample.pdf" data-rel="external">Pdf file</a>
.
Thanks for the pull request and especially one including unit tests!! I am happy for every contribution!
By the way, I refactored a lot of the code of the adapter this week. My goal was clean code, and also to make it easier to create adapters for custom jquery mobile plugins. Have a look at https://github.com/tigbro/jquery-mobile-angular-adapter/blob/master/src/main/webapp/integration/jqmNgWidgetProvider.js
Thanks again! Tobias
You are right. I thought I had tried it but I must have made a mistake.
On 2013-03-01, at 10:57, Tobias Bosch notifications@github.com wrote:
A workaround is to use Pdf file.
— Reply to this email directly or view it on GitHub.
When trying to link to a local pdf file, using
data-ajax="false"
, clicking on the link will result in a page displayingundefined
. It loads the content of the pdf file in the jquerymobile page. It seems that thedata-ajax="false"
is not respected.The same markup used with only jquery mobile scripts will properly display the pdf file when clicking the link.