jquery/jquery-mobile — Issue #3472: Pages with data-ajax="false" on form fail to load
Author: dak1
Created: 2012-01-23 15:48:58+00:00
State: open

This seems to be a regression with Issue #1580.

A page will not load if it contains a form that has @data-ajax="false".

The original issue:
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 can confirm that adding @href to the form with @data-ajax="false" fixes the problem.

Original fix landed at:
https://github.com/jquery/jquery-mobile/commit/e597ccb381913308ce4c31662c8eba67509f8c1a