Side navigation
#10524 closed bug (fixed)
Opened October 18, 2011 09:09PM UTC
Closed May 16, 2012 06:04PM UTC
Last modified May 16, 2012 06:10PM UTC
jQuery.fn.load does not merge data parameter with jQuery.ajaxSetup
Reported by: | matt@mattlunn.me.uk | Owned by: | markelog |
---|---|---|---|
Priority: | low | Milestone: | 1.8 |
Component: | ajax | Version: | 1.6.4 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
The behaviour when passing a data object to load is inconsistent to that observed when passing a data object to object to get/post.
The JS Fiddle here shows that get merges the provided data object with the contents of jQuery.ajaxSettings.data, where as load replaces the contents.
Attachments (0)
Change History (7)
Changed October 19, 2011 03:57PM UTC by comment:1
component: | unfiled → ajax |
---|---|
milestone: | None → 1.next |
priority: | undecided → low |
status: | new → open |
Changed May 01, 2012 06:41PM UTC by comment:2
resolution: | → fixed |
---|---|
status: | open → closed |
Changed May 01, 2012 06:48PM UTC by comment:3
Changed May 01, 2012 06:49PM UTC by comment:4
resolution: | fixed |
---|---|
status: | closed → reopened |
Changed May 01, 2012 06:49PM UTC by comment:5
owner: | → markelog |
---|---|
status: | reopened → assigned |
Changed May 16, 2012 06:04PM UTC by comment:6
resolution: | → fixed |
---|---|
status: | assigned → closed |
jQuery.ajaxSetup() data is merged with params. Fixes #10524
Changeset: 6bed348a007f8467dfc09cf63a1783bce673c3f4
Changed May 16, 2012 06:10PM UTC by comment:7
milestone: | 1.next → 1.8 |
---|
Confirmed. data from ajaxSetup is not included in the load. Seems like that should be the same.