Bug Tracker

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#10879 closed bug (invalid)

Jquery toggle method using "slide" effect from Jquery UI

Reported by: [email protected] Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.7.1
Keywords: Cc:
Blocked by: Blocking:

Description

If the method is applied to hide/show a form field with input type="file". On submitting the form attached image is lost during the POST process. For example This will NOT post the uploaded file to the server! (Hide first then toggle show/hide) $( ".container_upload" ).css('display', 'none'); $( "button.upload" ).click(function() { $( ".container_upload" ).toggle( "slide", { direction: "up" }, 600 ); }); For example This will WORK and post the uploaded file to the server! (Hide first then show on click) $( ".container_upload" ).css('display', 'none'); $( "button.upload" ).click(function() { $( ".container_upload" ).css('display', ); });

Change History (2)

comment:1 Changed 11 years ago by anonymous

After more test i can definitely say the problem lies inside JQuery UI! $( ".container_upload" ).toggle( "slide", { direction: "up" }, 600 ); => is NOT sending the _FILE array $( ".container_upload" ).toggle(); => WORKS! _FILE array is send.

I only remove the inside of the toggle function which turns it to simple Hide/Show and no problems ! If i use the fancy Jquery UI effect _FILE array is empty!

comment:2 Changed 11 years ago by ajpiano

Resolution: invalid
Status: newclosed

Unfortunately, we are unable to assist with issues related to support, jQuery UI, or third party plugins. Bug reports related to jQuery UI can be filed on the jQuery UI bug tracker. Please be sure to post a valid testcase that reproduces the issue on http://jsfiddle.net with your ticket.

Note: See TracTickets for help on using tickets.