If action attribute is undefined, default to path.get(). Fixes #766

This commit is contained in:
scottjehl 2011-03-24 00:36:24 -04:00
parent acc771b046
commit 7b0fa3b48c

View file

@ -635,7 +635,7 @@
}
$.mobile.changePage({
url: url,
url: url.length && url || path.get(),
type: type.length && type.toLowerCase() || "get",
data: $(this).serialize()
},