diff options
author | Richard Gibson <richard.gibson@gmail.com> | 2013-04-29 13:31:59 -0400 |
---|---|---|
committer | Richard Gibson <richard.gibson@gmail.com> | 2013-04-29 13:31:59 -0400 |
commit | 18cccd04a6f69018242bce96ef905bc5d3be6ff8 (patch) | |
tree | f72b7224fac43222074b48e7c9fe2b0436a716f2 | |
parent | 55e319aa52eb828a3a4c2298aa75b6d15cfa06f8 (diff) | |
download | jquery-18cccd04a6f69018242bce96ef905bc5d3be6ff8.tar.gz jquery-18cccd04a6f69018242bce96ef905bc5d3be6ff8.zip |
Fix #13803: domManip remote-script evaluation per 1.9 (AJAX dataType "script")
-rw-r--r-- | src/manipulation.js | 4 |
1 files 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 }); } }); |