Disabled the test until after 1.1.3 (when we have time to deal with it). (Bug #975)
[jquery.git] / src / ajax / ajax.js
index e65a0f7..4fb63c0 100644 (file)
@@ -408,9 +408,6 @@ jQuery.extend({
                });
        },
 
-       // timeout (ms)
-       //timeout: 0,
-
        /**
         * Set the timeout in milliseconds of all AJAX requests to a specific amount of time.
         * This will make all future AJAX requests timeout after a specified amount
@@ -788,7 +785,7 @@ jQuery.extend({
 
                // Get the JavaScript object, if JSON is used.
                if ( type == "json" )
-                       eval( "data = " + data );
+                       data = eval("(" + data + ")");
 
                // evaluate scripts within html
                if ( type == "html" )