Skip to content

Commit

Permalink
Merge pull request #40 from ignu/master
Browse files Browse the repository at this point in the history
Don't force xml for ajax requests
  • Loading branch information
fredwu committed Mar 9, 2013
2 parents 2c0909e + 31c6f51 commit 1aced6a
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 1aced6a

Please sign in to comment.