#10524 closed bug (fixed)
jQuery.fn.load does not merge data parameter with jQuery.ajaxSetup
Reported by: | 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.
Change History (7)
comment:1 Changed 11 years ago by
Component: | unfiled → ajax |
---|---|
Milestone: | None → 1.next |
Priority: | undecided → low |
Status: | new → open |
comment:2 Changed 11 years ago by
Resolution: | → fixed |
---|---|
Status: | open → closed |
comment:3 Changed 11 years ago by
comment:4 Changed 11 years ago by
Resolution: | fixed |
---|---|
Status: | closed → reopened |
comment:5 Changed 11 years ago by
Owner: | set to markelog |
---|---|
Status: | reopened → assigned |
comment:6 Changed 11 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
jQuery.ajaxSetup() data is merged with params. Fixes #10524
Changeset: 6bed348a007f8467dfc09cf63a1783bce673c3f4
comment:7 Changed 11 years ago by
Milestone: | 1.next → 1.8 |
---|
Note: See
TracTickets for help on using
tickets.
Confirmed. data from ajaxSetup is not included in the load. Seems like that should be the same.