added support for data-transition and data-direction on form elements. Fixes #1275

This commit is contained in:
scottjehl 2011-03-24 00:45:15 -04:00
parent 7b0fa3b48c
commit 39476d151a

View file

@ -639,8 +639,8 @@
type: type.length && type.toLowerCase() || "get",
data: $(this).serialize()
},
undefined,
undefined,
$(this).data("transition"),
$(this).data("direction"),
true
);
event.preventDefault();