aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ajax.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ajax.js b/src/ajax.js
index 4ba4548de..73e1db689 100644
--- a/src/ajax.js
+++ b/src/ajax.js
@@ -584,7 +584,7 @@ jQuery.extend({
data = (new Function("return " + data))();
} else {
- throw "JSON Syntax Error: " + data;
+ throw "JSON.parse";
}
// If the type is "script", eval it in global context