This is a migrated thread and some comments may be shown as answers.

opening external link not working properly with phonegap 2.4

2 Answers 143 Views
Report a bug
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
NathanMST
Top achievements
Rank 1
NathanMST asked on 04 Apr 2013, 01:16 AM
This simple link using kendo ui mobile:

<a data-role="button" data-rel="external" href="http://www.myspiritualtoolkit.com" target="_blank">Visit www.MySpiritualToolkit.com</a>

was opening the link within the webview on my ios device instead of opening a new separate instance of Safari to display the link.

After I changed the project in icenium to go back to using phonegap 2.2 instead of 2.4 it worked correctly.  After two hours of losing my mind :-)

2 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 04 Apr 2013, 07:43 AM
Hello Nathan,

Indeed it seems this behavior was changed in Cordova, but strangely we cannot find any information on it. Still you can use window.open with _system as second argument as shown here.

Kind regards,
Steve
the Telerik team

Share feedback and vote for features on our Feedback Portal.
Want some Kendo UI online training - head over to Kendo UI Dojo.
0
NathanMST
Top achievements
Rank 1
answered on 04 Apr 2013, 01:24 PM
Cool, thanks I will switch my project back to using Cordova 2.4 and use the window.open method...

Thanks for the quick response!

I just tested and so far so good.  I'll keep my eyes out for any more quirkiness with 2.4
Tags
Report a bug
Asked by
NathanMST
Top achievements
Rank 1
Answers by
Steve
Telerik team
NathanMST
Top achievements
Rank 1
Share this question
or