diff options
Diffstat (limited to 'test/localfile.html')
-rw-r--r-- | test/localfile.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/localfile.html b/test/localfile.html index 7d49c44e1..faf34091c 100644 --- a/test/localfile.html +++ b/test/localfile.html @@ -51,7 +51,7 @@ function doLog( message, args ) { jQuery( "<li />").appendTo( logUL ).text( message + ': "' + Array.prototype.join.call( args, '" - "' ) + '"' ); } - jQuery.ajax( "./data/badjson.js" , { + jQuery.ajax( "data/ajax/echo/index.php", { context: jQuery( "#success" ), dataType: "text" }).success(function( data, _, xhr ) { @@ -61,7 +61,7 @@ doLog( "Success (" + xhr.status + ")" , arguments ); this.addClass( "error" ).text( "FAIL" ); }); - jQuery.ajax( "./data/doesnotexist.ext" , { + jQuery.ajax( "error" , { context: jQuery( "#error" ), dataType: "text" }).error(function( xhr ) { |