From: Richard Gibson Date: Mon, 29 Apr 2013 17:31:59 +0000 (-0400) Subject: Fix #13803: domManip remote-script evaluation per 1.9 (AJAX dataType "script") X-Git-Tag: 2.0.1~33 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=18cccd04a6f69018242bce96ef905bc5d3be6ff8;p=jquery.git Fix #13803: domManip remote-script evaluation per 1.9 (AJAX dataType "script") --- diff --git a/src/manipulation.js b/src/manipulation.js index 55d6e8510..58a598144 100644 --- a/src/manipulation.js +++ b/src/manipulation.js @@ -469,10 +469,10 @@ jQuery.extend({ return jQuery.ajax({ url: url, type: "GET", - dataType: "text", + dataType: "script", async: false, global: false, - success: jQuery.globalEval + "throws": true }); } });