if type attr is used from method attr, make sure it's lowercase first. Fixes #1280. Still needs a unit test but I'll need to think about how best to do it.

This commit is contained in:
scottjehl 2011-03-24 00:30:26 -04:00
parent b35274a8a4
commit e6095a357a

View file

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