cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Blair Vanderhoof (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CB-5521) window.open _system does not work on Windows Phone 8 for bingmaps: url
Date Mon, 02 Dec 2013 05:38:35 GMT

     [ https://issues.apache.org/jira/browse/CB-5521?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Blair Vanderhoof updated CB-5521:
---------------------------------

    Description: 
Using this code to capture click events and open in the system browser:

{code}
          $(document).on('click', 'a[target="_blank"]', function(e) {
            e.preventDefault();
            window.open($(this).attr('href'), '_system', 'location=yes');
          });
{code}

In windows phone 8, if the url follows a bingmaps: convention (http://msdn.microsoft.com/en-us/library/windows/apps/jj635237.aspx)
It will not open.

  was:
Using this code to capture click events and open in the system browser:

{code}
          $(document).on('click', 'a[target="_blank"]', function(e) {
            e.preventDefault();
            window.open($(this).attr('href'), '_system', 'location=yes');
          });
{code}

It works in IOS but does not work in Windows Phone 8.  If I change _system to _blank, it opens,
but in the app browser, not the system browser.

        Summary: window.open _system does not work on Windows Phone 8 for bingmaps: url  (was:
window.open _system does not work on Windows Phone 8)

> window.open _system does not work on Windows Phone 8 for bingmaps: url
> ----------------------------------------------------------------------
>
>                 Key: CB-5521
>                 URL: https://issues.apache.org/jira/browse/CB-5521
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Windows 8
>    Affects Versions: 3.2.0
>         Environment: Windows Phone 8 Emulator
>            Reporter: Blair Vanderhoof
>            Assignee: Jesse MacFadyen
>
> Using this code to capture click events and open in the system browser:
> {code}
>           $(document).on('click', 'a[target="_blank"]', function(e) {
>             e.preventDefault();
>             window.open($(this).attr('href'), '_system', 'location=yes');
>           });
> {code}
> In windows phone 8, if the url follows a bingmaps: convention (http://msdn.microsoft.com/en-us/library/windows/apps/jj635237.aspx)
It will not open.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message