another dumb fix
This commit is contained in:
parent
eb1850d6cb
commit
4ccf997308
1
vendor/assets/javascripts/ajaxfileupload.js
vendored
1
vendor/assets/javascripts/ajaxfileupload.js
vendored
@ -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" )
|
||||
|
Loading…
Reference in New Issue
Block a user