Skip to content

Commit

Permalink
Don't force XML for ajax requests
Browse files Browse the repository at this point in the history
  • Loading branch information
ignu committed Mar 8, 2013
1 parent 2c0909e commit 31c6f51
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/assets/javascripts/api_taster/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,7 @@ jQuery(function($) {
window.ajax = $.ajax({
url: ApiTaster.getSubmitUrl($form),
type: $form.attr('method'),
data: $form.serialize(),
dataType: 'xml'
data: $form.serialize()
}).complete(onComplete);

ApiTaster.lastRequest = {};
Expand Down

0 comments on commit 31c6f51

Please sign in to comment.