Please sign in to comment.
Fix for issue 1580 - phonegap: Pages with data-ajax="false" on form f…
…ail to load In the $.ajax() callback, we look for elements with @href, @src, and @data-ajax="false" elements, the code then assumes that matching elements will have either @href or @src, which of course forms don't ... they have @action ... so the code throws an exception because thisUrl is undefined. - I reworked the code to handle action and check to make sure we have an attribute and url string before attempting to use them.
- Loading branch information...
Showing with 20 additions and 7 deletions.