You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Peter Brady (Created) (JIRA)" <ji...@apache.org> on 2012/01/06 23:20:39 UTC
[jira] [Created] (CB-161) Canceled Navigation To Pages With a Hash
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
[jira] [Resolved] (CB-161) Canceled Navigation To Pages With a Hash
Posted by "Jesse MacFadyen (Resolved) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-161?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jesse MacFadyen resolved CB-161.
--------------------------------
Resolution: Fixed
Fix Version/s: 1.4.0
> 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
> Fix For: 1.4.0
>
>
> 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
[jira] [Commented] (CB-161) Canceled Navigation To Pages With a
Hash
Posted by "Eric Murphy (Commented) (JIRA)" <ji...@apache.org>.
[ 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