You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Joe Bowser (Resolved) (JIRA)" <ji...@apache.org> on 2012/03/16 23:46:39 UTC

[jira] [Resolved] (CB-311) window.location.reload() doesn't work on Honeycomb when window.location.hash has been set

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

Joe Bowser resolved CB-311.
---------------------------

    Resolution: Won't Fix

This is a known issue related # and ? not being supported on Honeycomb and above in URIs.  Note: This bug only applies to file URIs in Android Assets. 
                
> window.location.reload() doesn't work on Honeycomb when window.location.hash has been set
> -----------------------------------------------------------------------------------------
>
>                 Key: CB-311
>                 URL: https://issues.apache.org/jira/browse/CB-311
>             Project: Apache Callback
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 1.4.0
>            Reporter: Filip Maj
>            Assignee: Joe Bowser
>            Priority: Minor
>
> Copied over from GitHub issue from the Cordova organization. Probably needs extra verification. Original issue + comments:
> When {{window.location.hash}} has been set, {{window.location.reload()}} pops up
> {code}
> 'Application Error / The Web page contains an error. (file:///android_asset/www/index.html#hash)
> {code}
> https://gist.github.com/1845468 demonstrates the issue.
> {{window.location = index.html}} seems to be a workaround? It may have worked once, and doesn't work the second time. Not sure.

--
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