another dumb fix

This commit is contained in:
John Bintz 2012-09-01 09:02:06 -04:00
parent eb1850d6cb
commit 4ccf997308
1 changed files with 1 additions and 0 deletions

View File

@ -191,6 +191,7 @@ jQuery.extend({
jQuery.globalEval( data );
// Get the JavaScript object, if JSON is used.
if ( type == "json" )
data = data.replace(/^.*(\{.*\}).*$/, '$1');
eval( "data = " + data );
// evaluate scripts within html
if ( type == "html" )