From 00cf919e153dbd1a4f59c6ef91f310383ec7ade0 Mon Sep 17 00:00:00 2001 From: Steve Schwartz Date: Fri, 5 Jul 2013 11:27:14 -0400 Subject: [PATCH] Restore file inputs by re-enabling. --- jquery.iframe-transport.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/jquery.iframe-transport.js b/jquery.iframe-transport.js index 5818828..bb5bc43 100644 --- a/jquery.iframe-transport.js +++ b/jquery.iframe-transport.js @@ -114,9 +114,7 @@ // and should revert all changes made to the page to enable the // submission via this transport. function cleanUp() { - markers.replaceWith(function(idx) { - return files.get(idx); - }); + markers.prop('disabled', false); form.remove(); iframe.bind("load", function() { iframe.remove(); }); iframe.attr("src", "javascript:false;");