Bug Tracker

Modify

Ticket #12137 (closed enhancement: fixed)

Opened 10 months ago

Last modified 7 months ago

Deprecate use of $.ajaxSettings.traditional as $.param default

Reported by: dmethvin Owned by: dmethvin
Priority: low Milestone: 1.8
Component: ajax Version: 1.7.2
Keywords: Cc:
Blocking: Blocked by:

Description

Currently $.param(array, traditional) will fill in its traditional argument using $.ajaxSettings.traditional if it is undefined. This creates a dependency on the full ajax stack that is unnecessary. As of 1.9, if you want the traditional behavior you must explicitly pass true as the second argument.

This has no effect on $.ajax() usage since it passes the traditional parameter explicitly.

Change History

comment:1 Changed 10 months ago by dmethvin

  • Status changed from new to assigned
  • Component changed from unfiled to ajax
  • Priority changed from undecided to low
  • Milestone changed from None to 1.8
  • Owner set to dmethvin
  • Type changed from bug to enhancement

comment:2 Changed 10 months ago by dmethvin

  • Keywords needsdocs added
  • Status changed from assigned to closed
  • Resolution set to fixed

comment:3 Changed 7 months ago by mikesherov

  • Keywords needsdocs removed

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.