Fixed an issue with JSON data in packed scripts. (Bug #1298)
This commit is contained in:
parent
4b8c7d8561
commit
03c623c35f
|
@ -785,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" )
|
||||
|
|
Loading…
Reference in a new issue