Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

Firefox 3 fails to navigate to pages containing data-ajax='false' form attribute #1501

Closed
tenor opened this issue Apr 21, 2011 · 3 comments
Closed

Comments

@tenor
Copy link

tenor commented Apr 21, 2011

When I try to navigate from a page to another page containing a form element with a data-ajax='false' attribute set like shown below:

    <form id='uploadForm' method='post' data-ajax='false' enctype='multipart/form-data' action="https://github.com/UploadPage" >
        <input id="fileBlob" name='fileBlob' type="file" />
        <input type='submit' id='file-submit' value='Submit' />
    </form>

Firefox 3.6.1.6. is unable to navigate to the page (containing the form element shown above) and fails with the following error message:

"thisUrl is undefined"

and it occurs at line 2575 (jquery.mobile-1.0a4.1.js)

thisUrl = thisUrl.replace( loca...ation.host + location.pathname, '' ); 

If I remove the data-ajax='false' attribute then Firefox is able to navigate to the page.
Safari does not have this problem and navigates successfully to the page when the attribute is set.

@toddparker
Copy link
Contributor

Hoping the navigation path re-write will fix this issue too:
https://github.com/jquery/jquery-mobile/wiki/Refactor:-navigation-paths

@toddparker
Copy link
Contributor

@tenor - is this still an issue after the nav re-write?

@tenor
Copy link
Author

tenor commented Sep 23, 2011

I no longer see this issue.

@tenor tenor closed this as completed Sep 23, 2011
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants