jQuery.fn.load does not merge data parameter with jQuery.ajaxSetup
Reported by: |
matt@… |
Owned by: |
markelog |
Priority:
|
low
|
Milestone:
|
1.8
|
Component:
|
ajax
|
Version:
|
1.6.4
|
Keywords:
|
|
Cc:
|
|
Blocked by:
|
|
Blocking:
|
|
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)
Component: |
unfiled →
ajax
|
Milestone: |
None →
1.next
|
Priority: |
undecided →
low
|
Status: |
new →
open
|
Resolution: |
→ fixed
|
Status: |
open →
closed
|
Resolution: |
fixed
|
Status: |
closed →
reopened
|
Owner: |
set to markelog
|
Status: |
reopened →
assigned
|
Resolution: |
→ fixed
|
Status: |
assigned →
closed
|
Confirmed. data from ajaxSetup is not included in the load. Seems like that should be the same.