Bug Tracker

Modify

Ticket #6955 (closed bug: invalid)

Opened 4 years ago

Last modified 4 years ago

$.Ajax ignore empty array as data

Reported by: reporting Owned by:
Priority: Milestone: 1.4.2
Component: ajax Version: 1.4.2
Keywords: hash,array,ignore,ajax,post,get Cc:
Blocking: Blocked by:

Description

JQuery ignore the "data" if the array has key with empty arrays.

$.ajax(

type:"POST", data:{"one":{},"two":{}}

);

Change History

comment:1 Changed 4 years ago by dmethvin

  • Status changed from new to closed
  • Resolution set to invalid

Can you reopen with a test case, and explain what data you expected to be sent for this case?

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.