Quantcast
Channel: ASPNETWebStack Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 7215

Edited Issue: jquery.unobtrusive-ajax.js forget $.ajax global options [1525]

$
0
0
Copied from https://aspnet.codeplex.com/workitem/8186
Vote number: 5

The global default value (set with jQuery.ajaxSetup) for "type" is overriden with "GET" in $("form[data-ajax=true]").live("submit"
and in $("a[data-ajax=true]").live("click"

Also:
X-HTTP-Method-Override/X-Requested-With are added in options.data instead of option.headers

In $("a[data-ajax=true]").live("click" the type is forced to GET and data reset to an empty array [], ignoring global options.

Viewing all articles
Browse latest Browse all 7215

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>