You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Eric Murphy (Commented) (JIRA)" <ji...@apache.org> on 2012/01/16 02:23:40 UTC

[jira] [Commented] (CB-161) Canceled Navigation To Pages With a Hash

    [ https://issues.apache.org/jira/browse/CB-161?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13186642#comment-13186642 ] 

Eric Murphy commented on CB-161:
--------------------------------

FYI, I found a similar issue on Android: https://issues.apache.org/jira/browse/CB-174
                
> Canceled Navigation To Pages With a Hash
> ----------------------------------------
>
>                 Key: CB-161
>                 URL: https://issues.apache.org/jira/browse/CB-161
>             Project: Apache Callback
>          Issue Type: Bug
>          Components: WP7
>    Affects Versions: 1.3.0
>            Reporter: Peter Brady
>            Assignee: Jesse MacFadyen
>
> If you are on page a.html and try to navigate to b.html#subsection the PGView control will not navigate. Looking at the code, it appears that navigation is canceled if a hash is found in the URL:
> private void GapBrowser_Navigating(object sender, NavigatingEventArgs e)
>   {
>     Debug.WriteLine("GapBrowser_Navigating to :: " + e.get_Uri().ToString());
>     if (e.get_Uri().ToString().IndexOf("#") > -1)
>     {
>       e.Cancel = true;
>     }
>   }

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira