Commit a49693a5 authored by Richard Gibson's avatar Richard Gibson

Fix #13803: domManip remote-script evaluation per 1.9 (AJAX dataType "script")

(cherry picked from commit 18cccd04)
parent 6a816ec9
......@@ -735,10 +735,10 @@ jQuery.extend({
return jQuery.ajax({
url: url,
type: "GET",
dataType: "text",
dataType: "script",
async: false,
global: false,
success: jQuery.globalEval
"throws": true
});
}
});
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment