vendor/assets/javascripts/jquery.iframe-transport.js in remotipart-1.3.0 vs vendor/assets/javascripts/jquery.iframe-transport.js in remotipart-1.3.1

- old
+ new

@@ -119,11 +119,11 @@ $(this).replaceWith(files[i]); markers.splice(i, 1); }); form.remove(); iframe.bind("load", function() { iframe.remove(); }); - iframe.attr("src", "javascript:false;"); + iframe.attr("src", "about:blank"); } // Remove "iframe" from the data types list so that further processing is // based on the content type returned by the server, without attempting an // (unsupported) conversion from "iframe" to the actual type. @@ -176,10 +176,10 @@ return { // The `send` function is called by jQuery when the request should be // sent. send: function(headers, completeCallback) { - iframe = $("<iframe src='javascript:false;' name='" + name + + iframe = $("<iframe src='about:blank' name='" + name + "' id='" + name + "' style='display:none'></iframe>"); // The first load event gets fired after the iframe has been injected // into the DOM, and is used to prepare the actual submission. iframe.bind("load", function() {