another dumb fix
This commit is contained in:
parent
eb1850d6cb
commit
4ccf997308
|
@ -191,6 +191,7 @@ jQuery.extend({
|
||||||
jQuery.globalEval( data );
|
jQuery.globalEval( data );
|
||||||
// Get the JavaScript object, if JSON is used.
|
// Get the JavaScript object, if JSON is used.
|
||||||
if ( type == "json" )
|
if ( type == "json" )
|
||||||
|
data = data.replace(/^.*(\{.*\}).*$/, '$1');
|
||||||
eval( "data = " + data );
|
eval( "data = " + data );
|
||||||
// evaluate scripts within html
|
// evaluate scripts within html
|
||||||
if ( type == "html" )
|
if ( type == "html" )
|
||||||
|
|
Loading…
Reference in New Issue