From 18cccd04a6f69018242bce96ef905bc5d3be6ff8 Mon Sep 17 00:00:00 2001 From: Richard Gibson Date: Mon, 29 Apr 2013 13:31:59 -0400 Subject: [PATCH] Fix #13803: domManip remote-script evaluation per 1.9 (AJAX dataType "script") --- src/manipulation.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 }); } }); -- 2.39.5